如何从asp.net应用程序压缩文件夹并下载该zip文件 [英] How to zip a folder from asp.net application and download that zip

查看:86
本文介绍了如何从asp.net应用程序压缩文件夹并下载该zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用asp.net应用程序.
在我的应用程序中,有一些文件夹,每个文件夹包含一些文件.
我想为所有文件夹创建zip文件并下载该zip文件.请
尽快向我发送代码.

预先感谢.

Hi, I am working with asp.net application.
In my application have some folders and each folder contains some files.
I want to create zip files for all folders and download that zip files. Please
send me code as soon as possible.

Thanks in advance.

推荐答案



请参阅以下链接.它将对您有帮助.

在.NET 4.5中轻松创建Zip文件 [ ^ ]

http://csharpdotnetfreak.blogspot.com/2012/06/create-zip-files-in-aspnet-c-vb.html [ http://www.go4expert.com/forums/showthread.php?t=19363 [ ^ ]

谢谢,
Viprat
Hi,

See the below links. It will help you.

Creating Zip Files Easily in .NET 4.5[^]

http://csharpdotnetfreak.blogspot.com/2012/06/create-zip-files-in-aspnet-c-vb.html[^]

http://www.go4expert.com/forums/showthread.php?t=19363[^]

Thanks,
Viprat


这篇关于如何从asp.net应用程序压缩文件夹并下载该zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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