One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
mikescano
7 years agoNew member | Level 2
copy from google drive to dropbox using a batch file
Hi all,
I should need to copy my google drive into dropbox, and I have to do it via scheduled batch job.
Is there a way to write a (hope simple) script?
thank you!
mike
- mikescanoNew member | Level 2
it could be enough even a command line to upload into dropbpox (windows)
anyone can help me?
- Greg-DB
Dropbox Staff
Dropbox does offer the ability to upload files programmatically. You can use /2/files/upload to do so:
Or, for large files, you'll need to use upload sessions:
- https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start
- https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append
- https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish
Alternatively, if you can get Internet-access URLs for the files, you can use /2/files/save_url instead:
- https://www.dropbox.com/developers/documentation/http/documentation#files-save_url
- https://www.dropbox.com/developers/documentation/http/documentation#files-save_url-check_job_status
Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.
- mikescanoNew member | Level 2
Thank you so much Greg
do you think I can find an example (also a simple example) from which I can start?
just something to modify with my need
many thanks again for your help, appreciate
- Greg-DB
Dropbox Staff
Each endpoint has a curl example in the documentation (in the links in my previous post). I recommend reviewing those and translating them for your platform as necessary.
The API v2 Explorer may also be useful in this regard:
https://dropbox.github.io/dropbox-api-v2-explorer/
The SDKs each also have some examples included.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 7 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!