Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

gangnamBoy's avatar
gangnamBoy
Explorer | Level 3
8 years ago

Folder Download

Hello,

 

is it possible to download an entire dropboxfolder throug API V2

as a zip folder like the dropbox.com homepage would do it?

 

cheers

7 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    No, unfortunately the Dropbox API doesn't offer the ability to download folders as zips, but I'll be sure to pass this along as feedback.
  • gangnamBoy's avatar
    gangnamBoy
    Explorer | Level 3
    8 years ago

    Hi, 

     

    thank you for your replie!

    Can you tell me an efficient way to download the folder as a zip data?

     

    thanks in advance

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    Since the API doesn't offer a way to download the folder as a zip like this, you'll need to iterate through each desired file in the folder and download each one normally.
  • gangnamBoy's avatar
    gangnamBoy
    Explorer | Level 3
    8 years ago

    Ok, so I have to download first all files of the folder at once 

    and then zip them to one file?

    cheers

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    Yes, you'll need to download all of the files and then zip them as necessary.

    Note that shouldn't try to download all files simultaneously though, as that could trigger rate limiting or exhaust your network connection, depending on how many files there are. You should decide on some maximum number of files to download simultaneously.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!