-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zipping a folder #3
Comments
zipFiles is currently expecting NSURLs of filePaths and not a folderPath. You can grab the contents of the folder path and pass them to zipFiles. That said, being able to zip a folder path would be useful. I'll add this to a future version. |
Hi @Isuru-Nanayakkara, this is now solved with 075ee6c I want to add some folder-specific tests before bundling this feature in the next release but you can try it in the meantime. Thanks again for the question. Closing this issue. |
Released. |
I tested this this library with zipping a bunch of files inside a folder and it works great. However zipping that said folder itself results in a file of a format called CPGZ when it is unzipped.
Is zipping a folder not supported or am I doing something wrong? Here's the snippet of code.
I've uploaded a demo project to Dropbox here.
The text was updated successfully, but these errors were encountered: