Forum Discussion

Beatso's avatar
Beatso
Explorer | Level 4
5 years ago

Upload entire folder with JS SDK?

Hello,

I'm trying to upload multiple files from one folder to Dropbox using the JS SDK, and at the moment I am using a batch upload, looping through all the files one by one, and using filesUploadSessionStart, which is taking very long. Is there a way to just upload the contents of the entire folder to dropbox?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    No, unfortunately there isn't a way to upload an entire folder at once; you'll need to upload each file as you described. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 12 hours ago
351 Following

If 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!