downloaded GZIP report giving errors when extracting

270 views
Skip to first unread message

bgraves

unread,
Apr 18, 2012, 1:55:08 PM4/18/12
to adwor...@googlegroups.com
Even after re-downloading, I'm still getting this error in my code when I try to unzip my report:
"ICSharpCode.SharpZipLib.GZip.GZipException: Error GZIP header, first magic byte doesn't match"
It unzips fine using WinRAR.  Does anyone else get this programatic error (I use .NET)?  Have you found a way to get around it?
 

Zweitze

unread,
Apr 19, 2012, 4:37:50 AM4/19/12
to adwor...@googlegroups.com
I use System.IO.Compression.GZipStream, part of .NET framework 2.0 and higher. I never had any problems with GZIPped reports in the last five years. So, consider ditching the SharpZipLib (?!) code and start using GZipStream.
Reply all
Reply to author
Forward
0 new messages