如何建立在asp.net中的zip文件 [英] How to create zip file in asp.net

查看:112
本文介绍了如何建立在asp.net中的zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建该文件夹的压缩文件,路径为:

I need to create zip file from the folder, path:

D:\Nagaraj\New Project Read Document\TCBILPOS\TCBILPOS\TCBILPOS\FileBuild\HOST

这是主机文件夹中有 7 TXT文件。

within that host folder there are 7 txt files.

我要创建上述文件夹中的zip文件 HOST.zip

I want to create zip file HOST.zip in the folder above:

D:\Nagaraj\New Project Read Document\TCBILPOS\TCBILPOS\TCBILPOS\FileBuild

先谢谢了。

推荐答案

最流行的第三方库的(可能是因为它是免费的)是SharpZipLib:的 HTTP://www.icsharp$c$c.net/opensource/sharpziplib/

One of the most popular 3rd party libraries (probably because it is free) is SharpZipLib: http://www.icsharpcode.net/opensource/sharpziplib/

这篇关于如何建立在asp.net中的zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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