One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Андрей Г.2
5 years agoExplorer | Level 4
download_zip api
please give me an example of working code on php for download_zip, I unfortunately did not find this
- Greg-DB
Dropbox Staff
I don't have a sample of calling /2/files/download_zip in PHP in particular to share. The documentation has an example of calling it using command line curl though. Likewise, the API v2 Explorer can build sample code for it in a few formats. You can use those as a reference to write your code on your platform using whatever HTTPS client you're using.
- Андрей Г.2Explorer | Level 4
the problem is that in the example it works, and I often get allowed memory size of bytes exhausted. I need some good sdk
- Greg-DB
Dropbox Staff
We don't have an official PHP SDK for Dropbox API v2, but another option is to use a third party library. We have some listed here:
https://www.dropbox.com/developers/documentation/communitysdks
I don't know which, if any, of those happen to implement /2/files/download_zip though.
About Discuss Dropbox Developer & API
Make connections with other developers803 PostsLatest Activity: 15 hours ago
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!