如何解压缩嵌套的zip文件 [英] how to unzip nested zip file

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

问题描述

您好,

如何使用c#winforms解压缩嵌套的zip文件

Hello,
How to unzip a nested zip file using c# winforms

推荐答案

您可以解压缩一次,循环遍历所有文件,如果任何提取的文件扩展名是* .zip,那么您可以再次解压缩它。因为听起来你知道如何解压缩一次,所以发布它只是逻辑编码嵌套解压缩。



如果需要,请参考:

如何使用嵌套文件/文件夹压缩和解压缩整个文件夹..示例C#代码 [ ^ ]

在流式传输时解压缩嵌套的Zip文件 [ ^ ]
You can unzip it once, loop through all the files and if any extracted file extension is *.zip then you can unzip it again. Since it sounds like you know how to unzip once, post that it''s just logical coding to have nested unzip.

Still, in case needed, refer:
How to Zip and Unzip entire folders with nested files/folders.. example C# code[^]
Unzip Nested Zip Files While Streaming[^]


我真的建议使用 http:/ /www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx [ ^ ]。使用此zip程序集,您可以非常轻松地提取您的zip文件,然后提取其中包含的zip文件。
I would really recommend using http://www.icsharpcode.net/OpenSource/SharpZipLib/Download.aspx[^]. Using this zip assembly you can very easily extract your zip file, and then extract the zip file contained within.


您可以应用7-Zip或使用恢复zip以防出现问题


http://www.zip.recoverytoolbox.com 将为所有人提供帮助正确提取所需的信息
You may apply 7-Zip or use recovery zip in case some problems

http://www.zip.recoverytoolbox.com will give all the required information for proper extracting


这篇关于如何解压缩嵌套的zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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