cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

copy from google drive to dropbox using a batch file

copy from google drive to dropbox using a batch file

mikescano
New member | Level 2

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

4 Replies 4

mikescano
New 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:

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. 

mikescano
New 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.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    mikescano New member | Level 2
What do Dropbox user levels mean?