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
it could be enough even a command line to upload into dropbpox (windows)
anyone can help me?
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:
Alternatively, if you can get Internet-access URLs for the files, you can use /2/files/save_url instead:
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.
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
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.