New Post: Can you read entries concurrently?
I don't see any sharpcompress API usage in this. I don't think I understand what you're asking me.
View ArticleNew Post: Can you read entries concurrently?
Sorry, the code got cutprivate async Task<string> SaveFileAsyncReadingSync(Stream streamSource, StorageFolder destinationStorageFolder, string destinationFileName) { var file = await...
View ArticleNew Post: Working examples of library
Hi All, Today I came across this library and I would like to congratulate the developers for great work. I have couple of queries - Is this library supports .war, .ear file extensions? and where I can...
View ArticleNew Post: Working examples of library
The library figures out the archive type by inspecting the binary. wars and ears are zip file if I remember correctly. There are a lot of examples in the tests. Look at the source. The Entries...
View ArticleNew Post: Can you read entries concurrently?
I see. Yes, you can't concurrently use the same instance as it's backed by a single Stream that it seeks over. You're better off creating multiple Archive instances and having a read only FileStream...
View ArticleNew Post: Great library!
Just want to say thanks, i'm using SharpCompress to extract zip/rar/cbr/cbz files in my open source image viewer (http://www.pviewer.net), i also wrote a small article on how to show a progress bar...
View ArticleNew Post: Great library!
Thanks for the article. I hope people find it useful. I might use your project as well :)
View ArticleNew Post: How to ignore directories and the usage of...
Hello, I'm trying to skip the processing of directory entries contained in archives (but I still want to process the regular files contained within). First, I've tried to use the IsDirectory property...
View ArticleNew Post: How to ignore directories and the usage of...
I probably ought to remove that option as Rar is the only thing that pays attention to it. Right now you have to specify the "GiveDirectoryEntries" option for it to return directories. However, I'm...
View ArticleNew Post: How to ignore directories and the usage of...
My confusion stemmed from the fact that it returns directories whether you specify GiveDirectoryEntries or not. Also, the IsDirectory property always returns false. I have no problem with you removing...
View ArticleNew Post: Issue
I wrote a sample follow the documentation. public static void Compress(string[] filesList, string descZipFolder,bool IsDelOrginalFile) { CompressionInfo info = new CompressionInfo(); info.Type =...
View ArticleNew Post: Great library!
How to delete the orginal files(they are compressed into the *.zip file) after compressed?
View ArticleNew Post: Great library!
A simple foreach loop will work, try this code with some bogus files first, since i haven't tested it. string files = Directory.GetFiles(directory).Where(name => !name.EndsWith(".zip")); foreach...
View ArticleNew Post: Issue
I just did a test and things work for me. Do you have the latest source compiled? Or are you using the last release? Are you sure you're not opening the files in filesList anywhere else?
View ArticleNew Post: Missing File in UnitTests?
I couldn't get the unit tests to run until I copied ัะตัั.txt into the TestArchives\Original Folder. (I got this from running one of the ZipReaderTests) After that all the tests passed. Cheers Simon
View ArticleNew Post: Missing File in UnitTests?
Unfortunately, there is. That file has a Russian name for testing and it seems TortoiseHg won't add it to the repo correctly. The only thing I know to do is tell you to do what you did :)
View ArticleNew Post: ZipX files
Hi again I am currently using DotNetZip to read .ZIP files to scan for MS Office Documents then parse Custom Properties directly from them. There is a limitation that DotNetZip doesn't support LZMA...
View ArticleNew Post: ZipX files
I don't necessarily know what ZIPX is. The ZIP specification lists LZMA, PPMd, bzip2, etc as compression types so that's what I use as I have those compression types. As far as I know, there are two...
View ArticleNew Post: Problem with Unknown Header (and possible fix)
I thought I'd give the library a real workout - a 1.8GB .ZIPX file which is > 3GB when uncompressed and contains 100+ nested .ZIP files. I had a problem with a single 'unknown' header. By adding a...
View Article