This project is read-only.

RemoveEntry causes bad zip

Jul 18, 2008 at 8:23 PM
I have a zip file was created by 7-zip. I use .netwinzip to remove one entry from there.

Ionic.Utils.Zip.ZipFile Zs = new Ionic.Utils.Zip.ZipFile(@"c:\temp\c\");

The new zip file cannot be unzipped.

Not sure what is the problem?


Jul 19, 2008 at 3:37 AM
I cannot imagine what the problem is either.

would it be possible for you to send me the zip file, before you remove the entry, as well as the broken zip file that results after you remove the entry?

Jul 21, 2008 at 5:11 PM
How can I send attachment here?
The zip file is quite simple, just a few text files. It seems that if the entry is at the end, then the remove entry has no problem. I send to, not sure it will reach you.

Jul 22, 2008 at 1:22 AM
Edited Jul 22, 2008 at 1:23 AM

you can raise it as an "issue" or workitem, and attach a file there.

Click the "Issue Tracker" tab, and create a new Issue.
Oh, wait, I see you've already done this. 
Let me have a look.

Jul 22, 2008 at 5:39 AM
OK, I fixed workitem 5616.
It is in v1.6, and also, I back-ported it to the v1.5 release, and updated the downloads for v1.5.
Jul 22, 2008 at 4:51 PM
Excellent job!