代码在asp.net C#中使用webclient下载多个文件 [英] code to download multiple files using webclient in asp.net C#

查看:119
本文介绍了代码在asp.net C#中使用webclient下载多个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望用户下载多个文件.为此,我需要代码,它应包含一个弹出窗口,询问用户将其保存在哪里

i want the user should download the multiple files. for that i requred the code & it should contain popup window which ask user where to save it

推荐答案

您唯一的方法是提供指向文件,然后一次发送一个,或者全部压缩在一起.每个回发都可以用来向下发送一个文件.这些是HTML运作方式的基本事实.
The only way you can do this, is to offer links to the files and to send them one at a time, or all zipped together. Each postback can be used to send one file down. These are basic facts of how HTML works.


这篇关于代码在asp.net C#中使用webclient下载多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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