Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upload multiple files in bulk? #778

Open
MichaelDeBoey opened this issue Aug 20, 2021 · 1 comment
Open

How to upload multiple files in bulk? #778

MichaelDeBoey opened this issue Aug 20, 2021 · 1 comment
Labels

Comments

@MichaelDeBoey
Copy link

What is your question?

I'm looking for a way to upload about 100 files at once in bulk.

Versions

  • What version of the SDK are you using?
    ^10.7.0 (latest)

Additional context

I'm currently having an array of about 100 files that I loop over every day.
In each loop, I fetch those files and upload the latest version to Dropbox using the filesUpload method.

I however have to retry uploading already quite fast because I get 429: Too Many Requests errors.
Therefore I use the retry_after to set as the delay, but since I'm uploading that many files at once, I keep getting those errors.

All these files are smaller than the 150MB file size limit.

I would like to find a way to upload all these files in batch, without having to retry the upload all the time.

Thanks in advance for your help!

@greg-db
Copy link
Contributor

greg-db commented Aug 20, 2021

The Dropbox API unfortunately doesn't offer a way to upload multiple files at once, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants