Click here to Skip to main content
15,920,708 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hy there I have a wierd problem while downloading files from an URL with the WebClient:
WebClient wb = new WebClient();

            string url = txtURL.Text;
            string path = txtPath.Text;
            wb.DownloadStringAsync(new Uri(url),(path));
Here I determine the path(wich does exist) and the file name, I have some Event Handlers so I know when the file is completely download, what happens is tha it finishes downloadin it but the event isn´t called and the file isn´t in the file path specified_it doesn´t download it or it doesn´t save it?

What did I did wrong?
Please help
Updated 7-Jan-12 9:10am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900