发送多个文件下载到用户点击asp.net mvc按钮 [英] Send multiple files for download to a user on click of a button in asp.net mvc
本文介绍了发送多个文件下载到用户点击asp.net mvc按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过点击按钮将多个文件下载到用户/浏览器?
How to send multiple files for download to a user/browser on click of a button ?
我知道如何发送单个文件进行下载。如何发送两个或多个文件?
I know how to sent single file for download. How to send two or more files ?
推荐答案
快速搜索指向以下链接。
最终,HTML是为单个请求/响应设计的通讯。您的选择是考虑多部分文档,或者可能将您的输出文件压缩在一起。
Ultimately, HTML is designed for single request / response communication. Your options are to consider multipart documents, or perhaps zip your output files together.
There's another question here as well as here.
这篇关于发送多个文件下载到用户点击asp.net mvc按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文