fetch File
Fetches the data file at the URL in the GeoprocessingDataFile.url property. If filePath is a directory, the file will be given the name of the file taken from the end of the GeoprocessingDataFile.url. The full file path will be available as the returned task's result. Alternatively filePath can be a destination filename within an existing directory. Note that any pre-existing file at that location with the same name will be deleted first.
Return
Returns a task that fetches the data file at the GeoprocessingDataFile.url. The task's result is the full file path.
Since
200.1.0
Parameters
file Path
Path to a directory or full file name.