多个文件下载asp.net [英] Multiple files download in asp.net
问题描述
我在我的应用程序的一些情况,我需要给多个下载功能。
尽可能多我才知道那多个下载是不可能的使用HTTP.Either我们使用多个弹出使用JavaScript,或者我们可以使用Web客户端做的。
I have some scenario in my application where i need to give multiple download functionality. As much i come to know that multiple download is not possible using HTTP.Either we have to use multiple popup with javascript or we can do using web client.
我想知道,有没有其他的办法了这一点。
我们可以使用FTP在asp.net多个下载?
如果是,那么如何?
I want to know that is there any other way to this. Can we use FTP for multiple download in asp.net? if yes, then how?
推荐答案
不,你不能在ASP.NET中使用FTP,但是你可以的所有文件添加到一个单一的<一href=\"http://weblogs.asp.net/jgalloway/archive/2007/10/25/creating-zip-archives-in-net-without-an-external-library-like-sharpziplib.aspx\"相对=nofollow称号=压缩文件> zip文件,然后让用户下载该文件(包含所有文件)。
No you can't use FTP in ASP.NET, however you could add all files to a single zip-file and let the user download that file (containing all files).
这篇关于多个文件下载asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!