Edit report at https://bugs.php.net/bug.php?id=41243&edit=1

 ID:                 41243
 Comment by:         chaumond at gmail dot com
 Reported by:        joel dot alexandre at gmail dot com
 Summary:            How to use ZIPARCHIVE::CM_STORE
 Status:             Assigned
 Type:               Feature/Change Request
 Package:            Zip Related
 PHP Version:        5.x
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N

 New Comment:

I need this capability as well. Can anyone help me fix the code and submit a 
Pull 
Request on Github?


Previous Comments:
------------------------------------------------------------------------
[2012-12-21 19:20:22] dac dot chartrand at gmail dot com

I need to create a zip file with a compression level of 0 on some files.

Specifically, the EPUB 2.0.1 specification *requires* a file called mimetype to 
 
uncompressed, unencrypted, and the first file in the ZIP archive.

Without this feature available in ZipArchive, it's useless for EPUB creation.

Thank you for your consideration.

------------------------------------------------------------------------
[2012-10-26 12:34:23] kalibrov1 at gmail dot com

Faced with the same problem, I can not create the correct ODS file!

------------------------------------------------------------------------
[2012-10-17 12:01:39] spamme at filbilisim dot com

For back up features and performance issues uncompressed zipping is essential. 
Please provide this feature

------------------------------------------------------------------------
[2012-07-18 16:54:16] frozenf...@php.net

Any progress on this, pajoye? Given the number of votes on this bug, and its 
age, 
I think this needs to be addressed as soon as possible.

I encountered this bug today, and it's quite frustrating to not be able to set 
the compression level.

------------------------------------------------------------------------
[2012-01-23 10:57:54] mpeters at domblogger dot net

It is imperative that this bug be addressed and fixed.

The epub specification requires that the first file in the zip archive be named 
mimetype and be uncompressed.

Until this bug is fixed, it is thus impossible to create a valid epub file in 
pure php w/o executing system commands (forbidden in many environments).

*maybe* it could be worked around by having a skeleton zip archive with the 
mimetype file in it uncompressed, but really, we need to be able to create a 
fresh zip archive, add that file, with no compression.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=41243


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=41243&edit=1

Reply via email to