We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

WDMuc's avatar
WDMuc
Explorer | Level 3
3 years ago

Zip multiple folders with Dropbox API

The Dropbox API offers the possibility to zip a single folder (/download_zip). Nice!

But in the official documentation, there's no endpoint or parameter to zip multiple folders.

 

Is zipping of multiple folders anyhow possible with the API? Any ideas or solutions are welcome!

 

4 Replies

  • WDMuc's avatar
    WDMuc
    Explorer | Level 3
    3 years ago

    It's possible to download a single folder with the Dropbox API using the /zip_download endpoint.

    But what about zipping multiple folders with the API? Is there any solution for this?

    Thank you!

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 years ago

    No, unless the folders are all in one parent folder and it would be acceptable to download the entirety of that parent folder (in which case you could call /2/files/download_zip for that parent folder), it's not possible to download multiple folders as zips in one call. You would need to call /2/files/download_zip once per desired folder. I'll pass this along as a feature request for a batch version of this endpoint, but I can't promise if or when that might be implemented.

  • WDMuc's avatar
    WDMuc
    Explorer | Level 3
    3 years ago

    Thanks! Yes, a feature request for this would be great.

    It is surprising that you can select and zip multiple folders via the Dropbox website without any problems, but the API does not allow this.

    Kind regards!

    Nicolas

  • Здравко's avatar
    Здравко
    Legendary | Level 20
    3 years ago

    There is:

    https://www.dropbox.com/2/browse_zip_downloads/get_zip_download_url

    ... but it's undocumented and for internal use only. 🤷

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
411 Following

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