Hello,
How do i download a file over HTTP from my Windows form app., and how do i use a progress bar to determine how many bytes left.....
thanks alot in advance
Hello,
How do i download a file over HTTP from my Windows form app., and how do i use a progress bar to determine how many bytes left.....
thanks alot in advance
How to download a file over HTTP
Philippe Leybaert
Take a look at the WebClient or HttpWebRequest objects:
http://msdn2.microsoft.com/en-us/library/system.net.webclient.webclient.aspx
http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.httpwebrequest.aspx
To handle progress change notifications see the progress changed events on the Web Client class.
This post has the exact code you are looking for:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=94501&SiteID=1