zlib and zip archives
Nick Collier
nick at src.uchicago.edu
Sun Dec 19 17:03:22 EST 1999
Hi,
I've been using zlib to create a zip archive using the pkzip format, and
I've only been half succesful. The file headers and the central directory
records and end of central directories records seem to get written
correctly. Winzip and infozip's unzip both report the correct files and
details when listing the files in the archive. However, when I try to
decompress the data and I get an error with the message "invalid compressed
data to inflate". I'm using zlib.compress with a level of 8 to compress the
data.
Any suggestions as to what I'm doing wrong?
thanks,
Nick
More information about the Python-list
mailing list