SharpDevelop Community

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

Browse by Tags

All Tags » File extraction (RSS)
  • another Compressed size mismatch between central header(nnn) and local header (0) exception

    All: Using v0.86.0.518 in a C# .Net4 project. Trying to unzip a couple of different files throws the exception in the subject on the line: Stream zipStream = zf.GetInputStream(entry); I saw that this was apparently a problem in some cases but appears to have been fixed prior to this version of the lib...
    Posted to Forum by aweber1nj on 01-22-2016
  • import an xlsx(Excel2007) file and it throws following error.

    Hi! I am using ICSharpCode.SharpZipLib.dll Assembly version 0.85.5.452 I m trying to import an xlsx(Excel2007) file and it throws following error. "Arithmetic operation resulted in an overflow" Exception is raised at string[ val = new string[excelReader.FieldCount]; but before this line when...
    Posted to Forum by muhammad abis on 05-09-2011
  • Invalid GZip archive.

    I have an invalid .tar.gz archive. Winzip refuses to open it, and when I try to inflate it with SharpZipLib, it goes into an eternal loop. This is the code that I am using (in part):- Stream InStream = File.OpenRead(InputPath); using (InStream = new GZipInputStream(InStream, 8192)) { bool Status = true;...
    Posted to Forum by Keith Richardson on 12-17-2010
  • Extracting to blank 0 kB file

    Hi friends, I am having a problem in unzipping a file, its extracting as 0 KB doc file, eventhough zipfile has valid document file.When I observed the process its creating a blank .doc file and failing to read from zip file or write into .doc file. I am using ICSharpCode.SharpZipLib.dll(Version 0.85...
    Posted to Forum by Devaraja on 10-27-2009
  • problem unzipping Office (2007) Open XML File Formats

    I've been able to open a MS Word .docx file with SharpZipLib, and read the various sections into a byte array by using the ZipInputStream.Read method on an instance of a ZipInputStream. After I have read the data into memory, I can inspect the uncompressed size of each XML document or Image. I can...
    Posted to Forum by whertzing56 on 06-17-2009
  • Re: Using Sharp Zip Lib

    Hi All, The above code is works for me. thank u for helping me.
    Posted to Forum by sekhar on 06-01-2009
  • FastZip.ExtractZip does not extract subfolder but name gets corrupted

    On mono 2.0.1 (and other version) when I extact a zip file with subfolders it wrongly creates the new files on local filesystem. FastZip fs = new FastZip(); fs.ExtractZip(LocalFile, LocalFolder, ""); will results in files created in this form (all files, no subfolders, that backslash "...
    Posted to Forum by Ger Teunis on 03-13-2009
  • Unzipping file with no extension

    The zip utilities work great except when I am trying to unzip a file with no extension(basically a file type of file). The sender of the file can't/won't change the way they zip the file. I have tried the fast zip and a few other examples, but they don't seem to be able to see the file without...
    Posted to Forum by miketstream on 02-14-2009
  • problem getting input stream

    Hi all, I have writen the following handler to handle zipped files. When I use it, I get the file names ok, but the Stream on the "getOriginFile" procedure is with 0 length and 0 position on all archeived files, with no exceptions thrown. when I check the Entry for each file in the stream it...
    Posted to Forum by Yaron on 12-16-2008
  • Re: Problem extracting files with windows extractor

    Hi, I try to Extract the.rar file used blow code. It throws the error.Give me solution to extract a tar using ICSharpCode.SharpZipLib DLL. public void ExtractFile() { String Archive = ""; String DestinationFolder = "E:\\GRAB\\"; GZipInputStream gZipStream = new GZipInputStream(File...
    Posted to Forum by rskumar on 11-14-2008
Page 1 of 3 (27 items) 1 2 3 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.