Quantcast
Channel: sharpcompress Discussions Rss Feed
Browsing all 239 articles
Browse latest View live
โ†ง

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 Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article


New Post: Working examples of library

Thanks for the reply.

View Article

New 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 Article

New Post: Great library!

Thanks for the article. I hope people find it useful. I might use your project as well :)

View Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

New Post: Great library!

How to delete the orginal files(they are compressed into the *.zip file) after compressed?

View Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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
Browsing all 239 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>