Is it possible to uncompress a gzip file which is concatenated from multiple gzip files? #656

Open
opened 2026-01-29 22:15:22 +00:00 by claunia · 1 comment
Owner

Originally created by @alex-b-123 on GitHub (Sep 3, 2024).

It looks like gunzip, winrar and 7zip all can uncompress multiple gzip files concatenated into one (as this link shows https://stackoverflow.com/a/15660705/19437625), however I'm only getting the first file out of the archive, when I uncompress.
I'm callingGZipArchive.Open() followed by using WriteToFile() on the one entry in the file.

Originally created by @alex-b-123 on GitHub (Sep 3, 2024). It looks like gunzip, winrar and 7zip all can uncompress multiple gzip files concatenated into one (as this link shows https://stackoverflow.com/a/15660705/19437625), however I'm only getting the first file out of the archive, when I uncompress. I'm calling`GZipArchive.Open()` followed by using `WriteToFile()` on the one entry in the file.
claunia added the enhancementup for grabs labels 2026-01-29 22:15:22 +00:00
Author
Owner

@adamhathcock commented on GitHub (Sep 5, 2024):

it looks like a manual concatention of files. I'm sure you'd have to write some code when the stream ends.

Could be a useful feature

@adamhathcock commented on GitHub (Sep 5, 2024): it looks like a manual concatention of files. I'm sure you'd have to write some code when the stream ends. Could be a useful feature
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#656