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: 

Using /upload_session/append_v2 is is possible to upload chunks in parallel?

Using /upload_session/append_v2 is is possible to upload chunks in parallel?

ncw
Collaborator | Level 8
Go to solution

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

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
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

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution
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-DB
Dropbox Staff
Go to solution

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?