Search code examples
javascripthttpdropboxdropbox-apidropbox-sdk-js

How to do Parallel upload of parts of a file to dropbox using Javascript


I have large file. I want to upload it to dropbox. Since the file size is too much, I want to divide the file into multiple parts and upload few parts in parallel. So that if one part fails, I can retry upload for only that part.

Is there a way to do that with dropbox-sdk.js or any other method?

Any kind of help is appreciated. Thanks in advance.


Solution

  • If you're referring to dropbox-sdk-js, you can upload a large file using upload sessions:

    You can upload multiple different files in parallel using upload sessions, but you can only upload a single file's data serially. That is, for a single file, you can only upload one consecutive piece of data at a time.