0
Reply

some WebClient questions

mmplay

mmplay

Jan 3 2004 4:22 AM
1.5k
Hi, there ***************************************************************** string remoteUri = "http://abc.com/test/"; string fileName = "test.jpg", myStringWebResource = null; myStringWebResource = remoteUri + fileName; WebClient myWebClient = new WebClient(); myWebClient.DownloadFile(myStringWebResource,fileName); ***************************************************************** I can download file from web server. Now I have some questions, hope somebody can help me. 1. How to get the rate of download progress? 2. How to get the download speed? 3. If breaks down in downloading, how to know the downloading was broke down? and how to resume the file when re-download next time? Please help me. Thanks.