One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
vishakh
4 years agoNew member | Level 2
zip folder using laravel
How to zip folder using laravel filesystem? we used
spatie/flysystem-dropbox
We need to zip folder or file via flysystem-dropbox package.
- Greg-DB
Dropbox Staff
The Dropbox API itself does offer the ability to download a folder as a zip via /2/files/download_zip. It doesn't offer the same ability for individual files. It also doesn't offer the ability to produce a zipped folder/file on Dropbox without downloading/uploading it, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
I can't offer support for spatie/flysystem-dropbox itself though, as that's made by a third party, so I don't know if it implements the /2/files/download_zip endpoint, for instance. You should refer to its documentation or contact the maintainer for help with that library.
About Discuss Dropbox Developer & API
Make connections with other developers807 PostsLatest Activity: 2 days 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!