You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

stixb's avatar
stixb
Explorer | Level 3
2 years ago

/download_zip compression

If I'm not mistaken /download_zip endpoint creates a zip using method "store" (meaning 0% compression). So it doesn't make sense to use this API for optimising fetching size, since the resulting zip's size is the same as the one of the remote folder. I understand, that there might be use cases for that, probably, but I was wondering whether I'm missing some configuration param, that allows specifying a compression method. If not, perhaps it can be a feature request? 

  • That's correct, the /2/files/download_zip endpoint was just designed as a way to enable apps to download entire folders at once, as opposed to individual files; it doesn't apply compression to optimize the amount of data that needs to be transferred overall.

     

    There isn't an option for requesting actual compression, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

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

    That's correct, the /2/files/download_zip endpoint was just designed as a way to enable apps to download entire folders at once, as opposed to individual files; it doesn't apply compression to optimize the amount of data that needs to be transferred overall.

     

    There isn't an option for requesting actual compression, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API

Make connections with other developers

797 PostsLatest Activity: 12 hours ago
199 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!