SharpDevelop Community

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

Wrong Local Header Signature 0x75746552

Last post 02-26-2008 7:22 PM by JohnReilly. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-24-2008 9:42 PM

    Wrong Local Header Signature 0x75746552

    I am getting the error 'Wrong Local Header Signature 0x75746552' when I execute the GetNextEntry method in my code below...

    ZipInputStream oZipStream = new ZipInputStream(strmZipFile);

    ZipEntry sEntry = oZipStream.GetNextEntry();

     I am using the .NET 1.1 version 0.85.4.369 and have also tried .NET 2.0 but get the same error.

    I have tried a number of Zip files but get the same error every time.

     Any ideas anyone?

     

  • 02-25-2008 1:04 AM In reply to

    Re: Wrong Local Header Signature 0x75746552

     Hi,

    I suggest you have a look into the contents of the files. The signature you mentioned which is ASCII 'uteR' looks suspicious.

    You could try opening them with a ZipFile too see if that works as the ZipFile will ignore rubbish at the front of a zip file due to the way it operates. 

     

     

    Cheers,

    -jr-

     

     

  • 02-25-2008 11:06 PM In reply to

    Re: Wrong Local Header Signature 0x75746552

    John

    Thanks for the response.

     I am not quite sure what you mean here! I can open the Zip file(s) using Winzip and see a file or set of files within the Zip file(s). Is that what you mean. Would it be useful if I send you the Zip files so you can look at them?

     Stew

  • 02-26-2008 7:22 PM In reply to

    Re: Wrong Local Header Signature 0x75746552

     Hi,

    I mean try using the ZipFile class to open the files.  This mimics what WinZip and other archivers typically do as streaming access is problematic in many ways.

     

    Handling of SFX is one case where streaming access cant easily do the job.  The files you have appear to be non-standard in the sense that they dont start with a zip file immediately but have some other data at the beginning.

    hth, -jr- 

     

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