SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

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

Last post 07-14-2014 9:08 PM by microwth. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-14-2014 9:08 PM

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

    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

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.