Upload and Download Files using Python

409
3
12-15-2023 02:29 AM
Status: Open
DonaldMarutaNHS
New Contributor II

There is no way to upload or download files from the local machine using Python Code. This would be useful for the complete automation of technical processes.

3 Comments
GregKeith

Not sure what you mean here

BobBooth1

This tutorial shows how to download data from a website and upload it to ArcGIS Online as a hosted feature service, using Python.

https://learn.arcgis.com/en/projects/schedule-automated-near-real-time-data-updates/

DavidPike

You could probably export() as a content item then download() specifying a local path.  A bit hacky but would probably work.