We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
vishakh
5 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.
1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
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 developers
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!