Support for streamed ZIP files

From TotalcmdWiki
Jump to: navigation, search

Support for streamed ZIP files is missing.

This is a variation of ZIP (fully standard for probably 10 years already) which allows creating ZIP files on-the-fly and sending them to an output stream (like socket).

This format differs from regular ZIP only in 3rd bit of general purpose bit flag set to 1; 3 fields in the local file header empty: crc32, compressed size, uncompressed size (because they cannot be know ahead); and added file descriptor right after the file stream with exactly the same 3 fields: crc32, compressed size, uncompressed size.

WinZIP, WinRAR, Unix unzip, JRE, even Windows XP Explorer support this variation of ZIP format, but Total Commander does not :-)

I have an example of the archive, and probably may help with implementation.



aschetinin @t

Back to Packer plugins (WCX)