Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester  here!

Forum Discussion

Tom A.5's avatar
Tom A.5
New member | Level 2
8 years ago
Solved

batchUpload - I want to upload one file to 3 or 4 dropbox paths.

We need to hopefully efficently upload about a single local file into about 3 - 4 locations on a users dropbox. 

 

I am using the objective-c api, but this question is not api version specific.

 

What is the best way to do this?

There is a call that takes a dictionary of localFile paths and some fileCommitInfos, but there is a one to one mapping so I can't upload the same file to two or 3 different locations on a dropbox account. 

 

So I am thinking I upload all the files to one of the locations, then do a bunch of copies from one dropboxPath to another dropboxPath, but it seems clumsy. 

 

What I would like to do is do a batch of uploads, then commit each upload to multiple dropbox paths. 

5 Replies

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,037 PostsLatest Activity: 14 hours ago
412 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!