Can Settings be made for dotnetzip to make gzip to uncompress ZIp64 files

Mar 22, 2011 at 6:06 AM


I am using dotnetzip library and as size of file is >4GB ,i have made compress using zip64 extension ,but gzip is not able to decompress the file and getting below error.

error: gzip: invalid compressed data- length error.

Can anyone please recommend a way to overcome this problem, as client is using gzip for unzip ,we have to make modifications from our side(using dotnetzip) to support gzip.




Mar 25, 2011 at 12:44 PM

I'm not quite clear on the problem, but...let me take a guess as to the cause of your confusion.  

you are thinking that gzip (the application) can unpack zip files.  This is not true.  If you are trying to unpack a .zip file with the gzip utility, it won't work. 

you need a zip utility to unpack .zip files.  the gzip format is not the same as the zip format. The gzip tool normally unpacks .gz files. These are structured differently than .zip files.