Support for streamed ZIP files

From TotalcmdWiki
Revision as of 07:57, 31 July 2006 by Aschetinin (talk | contribs) (Support for streamed ZIP files is missing.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.

Sincerely,

Andrew aschetinin @t gmail.com