Author: fahadfm100@hotmail.com | Posted on: 1/16/2010 1:52:05 AM | Views : 352

Hi All
i want to to download file from uri path, i tried the following code but it through an exception
try { WebClient objclient = new WebClient(); objclient.DownloadFile(urlPath, FileName + ".txt"); objclient.Dispose(); } catch(Exception ex) { } at download position it raise an exception "An exception occurred during a WebClient request." can u please is there any other soluton or there is a problem in my code..thanks in advance.

 
...

Go to the complete details ...