ReaderFactory.Open does not check for SevenZipArchive #380

Open
opened 2026-01-29 22:11:02 +00:00 by claunia · 3 comments
Owner

Originally created by @matthewDDennis on GitHub (Nov 20, 2019).

Thus when using ReaderFactory.Open I get an error of

Cannot determine compressed stream type. Supported Reader Formats: Zip, GZip, BZip2, Tar, Rar, LZip, XZ

Originally created by @matthewDDennis on GitHub (Nov 20, 2019). Thus when using ReaderFactory.Open I get an error of > Cannot determine compressed stream type. Supported Reader Formats: Zip, GZip, BZip2, Tar, Rar, LZip, XZ
claunia added the question label 2026-01-29 22:11:02 +00:00
Author
Owner

@adamhathcock commented on GitHub (Nov 21, 2019):

7Zip isn’t supported as a Reader. 7Zip the format sucks because you can’t stream it. You need random file access to properly extract data. You have to use ArchiveFactory.

@adamhathcock commented on GitHub (Nov 21, 2019): 7Zip isn’t supported as a Reader. 7Zip the format sucks because you can’t stream it. You need random file access to properly extract data. You have to use ArchiveFactory.
Author
Owner

@matthewDDennis commented on GitHub (Nov 21, 2019):

Yeah, I figured it out, but had to read the source code. Are there docs?

Sent from my iPhone

On Nov 21, 2019, at 2:25 PM, Adam Hathcock notifications@github.com wrote:


7Zip isn’t supported as a Reader. 7Zip the format sucks because you can’t stream it. You need random file access to properly extract data. You have to use ArchiveFactory.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@matthewDDennis commented on GitHub (Nov 21, 2019): Yeah, I figured it out, but had to read the source code. Are there docs? Sent from my iPhone > On Nov 21, 2019, at 2:25 PM, Adam Hathcock <notifications@github.com> wrote: > >  > 7Zip isn’t supported as a Reader. 7Zip the format sucks because you can’t stream it. You need random file access to properly extract data. You have to use ArchiveFactory. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe.
Author
Owner

@adamhathcock commented on GitHub (Nov 21, 2019):

Linked from the readme: https://github.com/adamhathcock/sharpcompress/blob/master/FORMATS.md

@adamhathcock commented on GitHub (Nov 21, 2019): Linked from the readme: https://github.com/adamhathcock/sharpcompress/blob/master/FORMATS.md
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#380