开发者

Can we Download Multiple Files and/or folder in c#

开发者 https://www.devze.com 2023-04-12 09:57 出处:网络
I开发者_StackOverflow am having a Windows application where I want to download multiple files at a glance from the server.Will it be possible? Also I want to download the complete folder having subfol

I开发者_StackOverflow am having a Windows application where I want to download multiple files at a glance from the server.Will it be possible? Also I want to download the complete folder having subfolders or files. I am using c# as the programming language. Guide me for the same.Thanks


Check DownloadFile method from WebClient.


In this case WebClient is you're friend .

You can create many WebClient object and use WebClient.DownloadFile(); Method tu use or you can use WebClient.DownloadFileAsync(); than to create Directory's you can use Directory.CreateDirectory();

0

精彩评论

暂无评论...
验证码 换一张
取 消