Hi Paul,
From your description, you 're wondering some certain dotnet buildin
classes/componetns to perform the multi-files uploads and downloads
operatons which similar with what can be done via web page's
fileupload/download, yes?
As for this question, here are my suggestions;
1. AS for the file download, it is limited that we can make one
httpwebrequest and retireve one download file each time. Just like what we
do file download via web page. There are some sample codes in the following
weblinks.
2. About the upload, when we use a webpage to upload files, we can put on
mulit inputfile html controls and upload multi-files in one post request.
However, as far as I've searched, I haven't found any sample or techarticle
demostrate on uploading multi-files via webclient or httpwebRequest class.
All I've found is upload one file eachtime. I'm not sure the behavior via
the webclient class or uploading through web page in IE is different, and
currently I'm consulting some further experts on this and will update you
as soon as I've got any further reference. Thanks.
Tech articles on performing file uploading and downloading applied the
webclient or httpWebrequest/HttpWebResponse classes
#Uploading and Downloading Files
http://www.c-sharpcorner.com/Interne...esponseMDB.asp
#MultipartForm Uploader
http://www.c-sharpcorner.com/Code/20...DotNetBugs.asp
Certain reference in MSDN:
#WebClient.UploadFile Method (String, String)
http://msdn.microsoft.com/library/en...NetWebClientCl
assUploadFileTopic1.asp?frame=true
#WebClient.DownloadFile Method
http://msdn.microsoft.com/library/en...NetWebClientCl
assDownloadFileTopic.asp?frame=true
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx