New Post: Attempting to access last modified time I get NotImplementedException
Same accessing an entry comment - ZipWritableArchiveEntry.cs explicitly replaces the ZipEntry.cs definition of Parts with the exception... WIP I'd guess.
View ArticleNew Post: Writing files to a Zip using AddEntry/SaveTo: Streams are closed late.
Mounting the horse from the rear: I built a fork of 10.1.3 with a ZipArchive.cs SaveTo reading as follows: protected override void SaveTo(Stream stream, CompressionInfo compressionInfo,...
View ArticleNew Post: Multi-file Archive support
If you do RarArchive.Open(string) with a file path for the first rar archive. It should work. Zip multi-file archives aren't currently supported.
View ArticleNew Post: Writing files to a Zip using AddEntry/SaveTo: Streams are closed late.
Are you basically stating that the EntryStream doesn't dispose properly? What does your entry.Close method do? I agree that the resources should be released predictably. I thought the entry classes...
View ArticleNew Post: aync decompression
Hi! I have many textfiles in a WinRar file, and I want to parse them on the fly, while I am doing the decompression. I did see that the decompression uses lots of CPU on one of the cores, so I want to...
View ArticleNew Post: Invalid Rar Header: 174
I sometimes do get " Invalid Rar Header: 174" exceptions, when I do process RAR files. The rar files are ok. I basically scan for interesting data in the binary streams of all files in a rar file....
View ArticleNew Post: NotImplementedException throwed when read a stream
Hi, I want to read a compressed stream using SharpCompress to decompress the stream but a NotImplementedException is throwed when I tried to do it. Here is the code:Stream stream = await...
View ArticleNew Post: aync decompression
With RAR files, you could access the files via the Archive interface and decompress each entry on different threads. As long as they're not SOLID RARs then they can be decompressed in different...
View ArticleNew Post: NotImplementedException throwed when read a stream
I guess ReadToEnd requires length to properly function. GZipStream is a forward-only stream implementation so length won't necessarily be known (like if you're using a NetworkStream). Can you do...
View ArticleNew Post: Invalid Rar Header: 174
Either they're RAR5 format or...well...I dunno :) I'd need a sample file to see what the potential issue is when reading the format.
View ArticleNew Post: VB Non-responsive app when loading
Ok so, I dont know if this is the right area first of all... But ill give it a shot. Pretty much, as VB does, when a thread/function is in the process of being operated, the program becomes...
View ArticleNew Post: 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll I'm using VB. Anyone else running into this? I'm trying to write a utility to batch extract many .rar files...
View ArticleNew Post: VB Non-responsive app when loading
Your basic problem is that you need to not do a lot of work on the UI thread. You need to look at using something like BackgroundWorker to do work on a different thread.
View ArticleNew Post: 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
I'm slightly confused on what you're doing to get the out of range exception. I'd like to see a non-working sample and a call stack when the exception is hit.
View ArticleNew Post: 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Admittedly, I've never provided that before so please let me know if there's anything thing else I can provide. And thank you for looking into this for me. here is a copy/paste of what appears in the...
View ArticleNew Post: 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
Update... I suspected mscorlib.dll might have been the culprit so I tried this project on a newer system. No luck. Next I will try the code in an earlier version of vb. I'm currently using visual...
View ArticleNew Post: 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
The only way you can get an error is like is if the file you're giving SharpCompress is a bad or invalid archive. Since you're saying that you can hardcore the path and make it work, I can only assume...
View ArticleNew Post: Going into subdirectories when extracting?
I can't find a way to go into subdirectories while extracting an archive. An archive entry has an IsDirectory flag, but there doesn't seem to be anything to do with a directory entry. I would expect it...
View ArticleNew Post: Going into subdirectories when extracting?
There are extension methods named WriteToDirectory on IArchive and IArchiveEntry. They do skip over directory entries because I chose not to make empty...
View ArticleNew Post: Going into subdirectories when extracting?
Thanks for getting back to me, Adam. I'm talking about an archive that looks like this:file1file2 directory1file3 file4 When I enumerate the archives, I can extract "file1" and "file2" just fine. When...
View Article