SharpDevelop Community

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

Browse by Tags

All Tags » ZipEntry (RSS)
  • ZipEntry.Size

    I'm writing to say that the particular example: using System; using System.IO; using ICSharpCode.SharpZipLib.Core; using ICSharpCode.SharpZipLib.Zip; class MainClass { public static void Main( string [ args) { string [ filenames = Directory.GetFiles(args[ 0 ]); byte [ buffer = new byte [ 4096 ];...
    Posted to Forum by astaykov on 11-22-2007
    Filed under: entry, size, ZipEntry
  • bad zip files

    I am trying to use sharpziplib with my asp.net website that uses vb.net. When I create a zip file I can use WinRAR to view it and extract it but when I try to use windows folder compression tool, the archive is empty. Here is my code Dim i As Integer Dim s As ZipOutputStream = New ZipOutputStream(File...
    Posted to Forum by skye3000 on 06-20-2008
    Filed under: #ZipLib, Empty, ExtraData, ZipFile, extract, entry, ZipEntry, zlib, error, add files, ziped file, CRC
  • the zip file is corrupted in Large Files (ZipOutputStream)

    I am using MemoryStream and the ICSharpZipLib to write data from a dataset into a zip file in memory and then sending the result to the client so the user can save the file locally. This is working fine with smaller datasets but is tanking when the dataset gets to somewhere between 100K and 180K bytes...
    Posted to Forum by MonkeyZ on 07-02-2008
    Filed under: ZipEntry
  • First timer: MemoryStream & ZipOutputStream/ZipInputStream

    Been playing with this most of today ... how sad - and still no sucess after going through many posts. I have 2 main functions 1 to compress a byte [ and return it, and vice-versa to decompress a byte [ and return it. I think I've setup the compression correctly - but can't test fully without...
    Posted to Forum by downatone on 07-28-2008
    Filed under: ZipInputStream, #ZipLib, sharpZipLib, ICSharpZip, ZipEntry, ZipInputStream Read
  • Library cannot extract this entry. Version required is (16660)

    Hi, I am getting above error while trying to unzip the files using SharpZipLib dll. it works for some zipfiles and for some zipfiles its throwing the above error. i am using the latest dll version 0.85.4.369, still getting the above error. using ( ZipInputStream s = new ZipInputStream ( File .OpenRead...
    Posted to Forum by Devaraja on 08-07-2008
    Filed under: Using #ZipLib, File extraction, #ZipLib feature request, ZipInputStream, #ZipLib, Zip64, Zip files for download, Zip, Zip password protection, zip ICSharpCode.SharpZipLib SharpZipLib, FastZip, ICSharpZip, ZipEntry, How i can test true password zip file ?, PDF spec 1.7 /FLATEDECODE SharpZipLib, #ZipLib gzip, ZipInputStream Read
  • Re: Library cannot extract this entry. Version required is (16660)

    John, Yes, the files are valid zip files, i can able to extract from windows manually but not thro code, while doing am getting above error. I downloaded the source and set VERSION_MADE_BY to 16660; in ZipConstants.cs class and added (Version == 16660) in version ckecking in ZIpEntry class. Its working...
    Posted to Forum by Devaraja on 08-11-2008
    Filed under: Using #ZipLib, File extraction, ZipInputStream, #ZipLib, ZipException, Zip64, sharpZipLib, Zip, sharpziplib list files getnextentry cf, Store file inside directory in ZIP file, zip ICSharpCode.SharpZipLib SharpZipLib, zlib dwf extraction, FastZip, ICSharpZip, ZipFile, extract, ZipEntry, zlib, ziped file, How i can test true password zip file ?, SharpZipLib stream gzip httpresponse, zip read only zipentry, #ZipLib gzip, ZipInputStream Read
  • Re: Library cannot extract this entry. Version required is (16660)

    hi, I downloaded the source for the version 0.85.4.369 and changed the code in Zipentry.cs like below.. if (versionToExtract != 0) { //return versionToExtract; // original return versionToExtract & 0xff; // changed In the above code 16660 is converted into 20 and it works, means unzips properly before...
    Posted to Forum by Devaraja on 08-21-2008
    Filed under: ZipInputStream, #ZipLib, ZipException, Zip64, sharpZipLib, FastZip Append, version required, zip ICSharpCode.SharpZipLib SharpZipLib, ICSharpZip, ZipFile, ZipEntry, zlib, SharpZipLib stream gzip httpresponse, Urgent, #ZipLib gzip, ZipInputStream Read
  • Is there a method Exists ?

    Hi all, I have to make a windows application on PDA with the Compact Framework. I have a zip file with approximatively 10000 entries in it. I don't want to unzip all the file, it's too long on a pda. I want to test if a file (i know the name) exists in my zip file and if exists, i want to unzip...
    Posted to Forum by qrf_vince on 09-16-2008
    Filed under: File extraction, #ZipLib, sharpZipLib, ICSharpZip, ZipEntry, ziped file, ZipLib
  • Re: How to Zip and Unzip entire folders with nested files/folders.. example C# code

    It looks like I was missing the part that kept everything in folders in the archive. :D Thanks! The only improvements I see are for the BuildList to be renamed and return an array list. public static ArrayList GetFilesToZip( string searchPath, int recursionLevel, ArrayList files) { DirectoryInfo ThisLevel...
    Posted to Forum by ferventcoder on 09-24-2008
    Filed under: Using #ZipLib, #ZipLib, ZipEntry, adding files, add files
  • Wrong Local header signature when uncompressing byte array from Xceed

    I'm trying to use CSharpZipLib (version 0.85.5.452) to decompress a byte array compressed by Xceed (which I have no control over). The result is the error message System.ApplicationException ---> ICSharpCode.SharpZipLib.Zip.ZipException: Wrong Local header signature: 0x72EB5DED at ICSharpCode...
    Posted to Forum by DanielB on 11-10-2008
    Filed under: ZipInputStream, Decompress ZIP VB.NET, sharpZipLib, Zip, New Need Help, zip ICSharpCode.SharpZipLib SharpZipLib, uncompress, ICSharpZip, ZipFile, ZipEntry, Wrong Local header signature, ZipInputStream Read, exception, MemoryStream
Page 1 of 2 (12 items) 1 2 Next >
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.