简体   繁体   English

进行多次下载Asp.net zipFile类

[英]Make multi download Asp.net zipFile class

to make multi download of files I need to use ZipFile class. 要进行文件的多次下载,我需要使用ZipFile类。 Im using .Net 2010 and I need a reference to ZipFile class which is avialable in .Net 2012 can i get a link for it. 我正在使用.Net 2010,我需要对ZipFile类的引用,该类在.Net 2012中可用,我是否可以为其获取链接。

The easiest way is with SharpZipLib . 最简单的方法是使用SharpZipLib This answer and these samples might help you get started. 该答案以及这些示例可能会帮助您入门。

I would recommend using DotNetZip , IMO it's much easier to use than SharpZipLib, here are the examples of usage: 我建议使用IMO DotNetZip ,它比SharpZipLib更容易使用,以下是用法示例:

http://dotnetzip.codeplex.com/wikipage?title=Examples&referringTitle=Home http://dotnetzip.codeplex.com/wikipage?title=Examples&referringTitle=Home

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM