We have our own GP service that gets a file as the first parameter.
When we published it we marked the "load" parameter that should let you load local file as this parameter.
When you work with WapApp Builder geoprocessing widget it will let you select a local file and send it to the server automatically and fetch it to the gp service..
We would like to do this in Python API when we load a local file and then give it to the gp service as a parameter.
Anybody have done this and can share a little code sample?
Checking the docs I found this: https://developers.arcgis.com/python/api-reference/arcgis.geoprocessing.html#datafile but I do not understand if this is the answer and if it does - how to use it.