How to unzip a split zip archive using DotNetLib

跟風遠走 提交于 2020-05-14 03:42:53

问题


I can use the DotNetZip library to unzip a single zip file:

Using Zip As ZipFile = ZipFile.Read(ZipFilePath)
    AddMessage("Unzipping " & Zip.Entries.Count & " entries")
End Using

However, if I try and pass in the first segment of a split archive produced using 7-Zip (e.g. Pubs.zip.001) then it throws an error:

Could not read block - no data! (position 0x03210FCE)

The documentation seems to infer that you don't have to do anything special to read a split archive:

This property has no effect when reading a split archive. You can read a split archive in the normal way with DotNetZip.

What am I doing wrong?

来源:https://stackoverflow.com/questions/32539791/how-to-unzip-a-split-zip-archive-using-dotnetlib

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!