icsharpcode / SharpZipLib

#ziplib is a Zip, GZip, Tar and BZip2 library written entirely in C# for the .NET platform.
http://icsharpcode.github.io/SharpZipLib/
MIT License
3.73k stars 976 forks source link

Files that cannot be opened by ZipFile #783

Closed wf-soft closed 2 years ago

wf-soft commented 2 years ago
using (var zip = new ZipFile(@"D:\1.7z")) {
    Console.WriteLine(zip);
}

throw "Cannot find central directory"

Since the .7z file could not be uploaded, I put it in the .zip file

1.zip

I try to use some other packages such as SharpCompress, which can be read normally.