We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
ncw
8 years agoCollaborator | Level 8
Using /upload_session/append_v2 is is possible to upload chunks in parallel?
Using /upload_session/append_v2 is it possible to upload chunks in parallel. Namely call /upload_session/append_v2 again before a previous one has finished?
The API would seem to allow it (given that it has an offset) but the "incorrect_offset" error perhaps indicates that it isn't allowed.
Any hints much appreciated!
Thanks
Nick
- Hi Nick, no, unfortunately you can't upload multiple chunks for the same upload session in parallel. Each upload session only has a single correct "offset" at any one point in time, and it has to match when you upload any chunk.
You can run multiple different upload sessions (i.e. for multiple different files) though. I recommend reading the data ingress guide if you haven't already:
https://www.dropbox.com/developers/reference/data-ingress-guide
- Greg-DBDropbox StaffHi Nick, no, unfortunately you can't upload multiple chunks for the same upload session in parallel. Each upload session only has a single correct "offset" at any one point in time, and it has to match when you upload any chunk.
You can run multiple different upload sessions (i.e. for multiple different files) though. I recommend reading the data ingress guide if you haven't already:
https://www.dropbox.com/developers/reference/data-ingress-guide - Greg-DBDropbox Staff
Update: the API does now support a "concurrent" upload session mode. Check out the documentation for more info: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months agoIf 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!