Question What is the best way of downloading multiple Files from a web-site ?

ROM

New member
Joined
Dec 25, 2010
Messages
2
Programming Experience
Beginner
I need to Update my Software and need a way of getting multiple files from a Web-Server.
I wold like to include a Progress bar showing each files download progress.

I am using My.Computer.Network.DownloadFiles at this moment but can not reference
to the progressbar.

VB2010 Pro. .net 3.5

Thanks for your support.
 
You can create a WebClient and call DownloadFileAsync. The WebClient will then raise DownloadProgressChanged event and you can update your own ProgressBar on your own form. If you want overall progress then you'll have to calculate the total size of the multiple files and the total progress to date yourself.
 
Back
Top