无法压缩2.5GB文件 [英] unable to compress 2.5GB file

查看:126
本文介绍了无法压缩2.5GB文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我正在尝试压缩2.5GB的文件。最初我用win10压缩,我想通过代码解压缩,但我发现大文件的窗口使用deflate64算法,框架不支持。


Sharpziplib无法正常工作和ionic.zip都没有。 


有关使用哪个库以及如何使用的建议?


谢谢





解决方案

嗨GDARIE,


感谢您发布此处。


对于您的问题,如果我们想要通过支持Deflate64进行解压缩,我们可以尝试以下方法。 / p>

我们的一个选择是将Adler不受支持的Deflate64实现添加到ClrCompression。


请参阅GitHub文档。


https://github.com/madler/zlib/tree/master/contrib/infback9


另一种方法是向ZipArchive添加托管的Deflate64支持。


https://github.com/dotnet/corefx/pull/11264


有关在解压缩中支持Deflate64的更多详细信息,请参阅以下链接。


https://github.com/dotnet/corefx/issues/9925


最诚挚的问候,


Wendy


Hello everyone,

i'm trying to compress a file which is 2.5GB. Initially i've zipped with win10 and i wanted to unzip via code but i found out that windows with large file use deflate64 algorithm, which is not supported by the framework.

Sharpziplib is not working and ionic.zip neither. 

Any suggestion on which library to use and how ?

thanks 


解决方案

Hi GDARIE,

Thank you for posting here.

For your question, if we want to do decompression with support for Deflate64, we could try the ways below.

One of our options would be to add Adler's unsupported Deflate64 implementation to ClrCompression.

Please refer to the GitHub document.

https://github.com/madler/zlib/tree/master/contrib/infback9

The another way is to add managed Deflate64 support to ZipArchive.

https://github.com/dotnet/corefx/pull/11264

For more details about the support for Deflate64 in decompression, please refer to the link below.

https://github.com/dotnet/corefx/issues/9925

Best Regards,

Wendy


这篇关于无法压缩2.5GB文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆