Extract splited 7z archive #484

Open
opened 2026-01-29 22:12:47 +00:00 by claunia · 0 comments
Owner

Originally created by @tinohager on GitHub (Nov 26, 2021).

Hi i have a splited 7z archive with 4 files. I found no example for this case. Is this posible with this library? Is an example available?
Thank you for the great library.

var files = new string[]
{
    "archive.7z.001",
    "archive.7z.002",
    "archive.7z.003",
    "archive.7z.004"
}

foreach (var file in files)
{
    using var sevenZipArchive = SevenZipArchive.Open(file, new ReaderOptions
    {
        Password = "1234abcd"
    });
}

I would have looked for something like this

var files = new string[]
{
    "archive.7z.001",
    "archive.7z.002",
    "archive.7z.003",
    "archive.7z.004"
}

using var sevenZipArchive = SevenZipArchive.Open(files, new ReaderOptions
{
     Password = "1234abcd"
});
Originally created by @tinohager on GitHub (Nov 26, 2021). Hi i have a splited 7z archive with 4 files. I found no example for this case. Is this posible with this library? Is an example available? Thank you for the great library. ```cs var files = new string[] { "archive.7z.001", "archive.7z.002", "archive.7z.003", "archive.7z.004" } foreach (var file in files) { using var sevenZipArchive = SevenZipArchive.Open(file, new ReaderOptions { Password = "1234abcd" }); } ``` I would have looked for something like this ``` var files = new string[] { "archive.7z.001", "archive.7z.002", "archive.7z.003", "archive.7z.004" } using var sevenZipArchive = SevenZipArchive.Open(files, new ReaderOptions { Password = "1234abcd" }); ```
claunia added the questionup for grabs labels 2026-01-29 22:12:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#484