Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

"Wrong Local header signature" when trying to unzip splitted zip file

$
0
0

When I unzip a single zipped archive everything goes well

But when I try unzipping an archive which is split into parts (i.e myfile.zip=>myfile.z01=>myfile.z02) I get a "Wrong Local header signature: 0x....". the moment

    " while ((zipentry = zipstream.GetNextEntry()) != null)"

gets called. Before that call, I see that when initiating a ZipInputStream  

     "ZipInputStream zipstream = new ZipInputStream(File.OpenRead("myfile.zip"));"

zipstreams Length property has a value of

     "System.InvalidOperationException: No current entry at SharpZipLib.Zip.ZipInputStream.getLength()"

which I perceive that it does not 'load' the data.

I check the first part of the archive myfile.zip under a hex editor and I see that the file starts with

    "6D 4F 92 2E", while the .z01,.z02 parts start with "PK", but that might be a property of the zip format,so expected

The file unzips ok when using Winrar or Winzip.

ziplib version 0.86.0
windows 7 32 bit


Viewing all articles
Browse latest Browse all 1764

Trending Articles