Extract Multi-volume 7z Archive

Overview

Aspose.ZIP for .NET lets you extract multi-volume 7z archives. The API provides  constructor that supports archives split into multiple pieces.

Options for extracting archive

The SevenZipArchive constructor requires the file names of all volume parts. These pieces typically have extensions such as .7z.001, .7z.002, .7z.003, and so on. It’s important to supply the part files in the correct sequence.

Extract multi-volume archive

The following example demonstrates how to extract a multi-volume 7z archive:

1    using (SevenZipArchive archive = new SevenZipArchive(new string[] { "part.7z.001", "part.7z.002", "part.7z.003" }))
2    {
3        archive.ExtractToDirectory(@"C:\extracted");
4    }

Multi-volume 7z archives can contain any supported features, such as encryption and custom compression methods, as found in regular single-file 7z archives.

Subscribe to Aspose Product Updates

Get monthly newsletters & offers directly delivered to your mailbox.