Support for streamed ZIP files: Difference between revisions
Aschetinin (talk | contribs) (Support for streamed ZIP files is missing.) |
Aschetinin (talk | contribs) mNo edit summary |
||
Line 12: | Line 12: | ||
Andrew | Andrew | ||
aschetinin @t gmail.com | aschetinin @t gmail.com |
Revision as of 07:58, 31 July 2006
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