0

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.

ashish_pal
  • 217
  • 1
  • 4
  • 11
  • In java, you can use session uploader. "UploadSessionStartUploader" . Not aware of the equivalent JS function – ND003 Sep 06 '16 at 10:39
  • @ND003 I found the JS equivalent here https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start. But I'm not able to do parallel uploads of parts of a file. Does "UploadSessionStartUploader" supports parallel uploads ? – ashish_pal Sep 06 '16 at 12:33

1 Answers1

1

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.

Greg
  • 16,359
  • 2
  • 34
  • 44