|
Browse by Tags
All Tags » ZipFile ( RSS)
-
Hi, I have an archive with some files in it. I want to use files from the archive directly without unziping them. I want to read files as streams. I use following code: -------------------------- public static Stream GetFileStreamFromArchive(string ArchivePath, string FileName) { ZipFile zip = new ZipFile...
Posted to
Forum
by
GDragoN
on
09-13-2007
Filed under: #ZipLib, sharpZipLib, Zip, zip ICSharpCode.SharpZipLib SharpZipLib, ZipFile
-
I am having problems reading and uncompressing large zip files using ZipInputStream and I am not sure what I am missing. First, I create the zip files using ZipOutputStream and ZipEntry. I am storing the original file path in the ZipEntry.Comment so I know where to restore files. Here is basically what...
Posted to
Forum
by
sh26
on
07-25-2007
Filed under: ZipFile
-
Hello, I am searching for the fastest (best coded way) to read a specific txt file out of a zip archive. I only need the second line of this txt file, so I do not need to unzip and store it somewhere on the file system. How can I do this with a good coding style? At the moment I am iterating through...
Posted to
Forum
by
macap
on
11-15-2007
Filed under: #ZipLib, Zip, ZipFile, extract, exact, read spezific txt-file
-
Hi guys, I'm new in vb. I want a bit of help in compressing a file with ziplib. If someone can tell me how to compress a file(e.g document) to a zip file it would be much appreciated (i know sounds really simple, so few lines of code of how to do it will help me a lot). If u know how to do more advanced...
Posted to
Forum
by
crsnt
on
12-11-2007
Filed under: Using #ZipLib, #ZipLib, files, FastZip, ZipFile
-
public void Add ( IStaticDataSource dataSource , string entryName , CompressionMethod compressionMethod , string comment ) { if ( dataSource == null ) { throw new ArgumentNullException ( "dataSource" ); } CheckUpdating (); ZipEntry entry = EntryFactory . MakeFileEntry ( entryName , false );...
Posted to
Forum
by
torial
on
12-27-2007
Filed under: #ZipLib feature request, ZipFile
-
Hy, I a need to backup a bunch of files and the total amount is over 4 GB. I think I need to use Zip64 but I do not how... I tryed to use ICSharp ZLib library and write the data in chunk but it does not work because I vahe to change the entry.crc and when I call PuNextEntry of ZipOutput the stream finish...
Posted to
Forum
by
Rikace74
on
01-15-2008
Filed under: Using #ZipLib, #ZipLib feature request, #ZipLib, Zip64, sharpZipLib, Zip, corrupt 4gb winzip, ExtraData, zip ICSharpCode.SharpZipLib SharpZipLib, folders, problems, ZipFile, extract, entry, zlib
-
Hi all! I'm trying to update a existing zipfile adding serveral files, but when i call "CommitUpdate" i receive a exception with a text similar to "File name of original file.zip. xxx.tmp" not found. The code used to update zip: Dim zipFileO As Zip.ZipFile zipFileO = New Zip.ZipFile...
Posted to
Forum
by
J1mb0
on
03-04-2008
Filed under: #ZipLib, sharpZipLib, ZipFile, adding files, add files
-
afaik ZipFile gives you no information about compression-progress. there are no events supported, no observers can be injected. I consider, maybe I could use an descendant of FileStream as parameter in his constructor, which has hooks in their Read/Write methods, and gives back the bytecount which was...
-
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
-
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
|
|
|