Extract Multi-volume 7z Archive
Contents
[
Hide
Show
]Overview
Aspose.ZIP API lets you extract multi-volume 7z archive. Aspose.ZIP API provides constructor methdod to extract such an archive.
Options for extracting archive
Constructor requires file names for every piece. Pieces usually have .7z.001, .7z.002, .7z.003 … extensions. They must be provided in correct order.
Extract multi-volume archive
The following code example demonstrates how to extract multi-volume 7z archive.
1try (SevenZipArchive archive = new SevenZipArchive(new String[] { "part.7z.001", "part.7z.002", "part.7z.003" } )) {
2 archive.extractToDirectory("C:\\extracted");
3}