Can we ZIP/Unzip files larger than 4GB using .Net

2019-03-05 06:41发布

We have an original zip library which uses the SharpZipLib and .NET 2.0. We need to research what is now possible in .NET 4.5 using System.IO.Compression and System.IO.Compression.ZipArchive.

Should we use .NET 4.5 libraries or use a 3rd party open source library? Also, we need to be able to zip/unzip files larger than 4GB. Samples, blogs, any help is welcomed.

Thank you

2条回答
一纸荒年 Trace。
2楼-- · 2019-03-05 07:22

3rd party. Use DotNetZip. It supports the Zip64 format.

查看更多
冷血范
3楼-- · 2019-03-05 07:41

4GB is the maximum addressible size for a 32-bit pointer, hence it will not work for larger file. But you can try Zip64 which will work for larger files. This post might help you.

Hope this will help!

Thanks Suresh

查看更多
登录 后发表回答