-
Notifications
You must be signed in to change notification settings - Fork 60
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
Save zip without compression #94
Comments
According to the documentation: $zip->addFile($file, $entryName, \PhpZip\Constants\ZipCompressionMethod::STORED); // No compression
or
$zip->addFromString('file', 'content', \PhpZip\Constants\ZipCompressionMethod::STORED);
The $entryName is the filename within the zip archive. |
i mean all files (with directories), because i need |
The Are you trying to "change" an existing ZIP file to an ZIP file with uncompressed content? |
Yes, I want to open a zip file with a lot of compressed files, export it, change some files and save as uncompressed zip. |
You can already do this with the existing methods. |
Description
How save zip without compression (all files)?
How to reproduce
The text was updated successfully, but these errors were encountered: