If you're getting a 401 error the file's not there...
+++ Rick ---
>Hi:
>
>I'm using the following code to download files in my asp.net app. The code just runs and nothing happens. At one time I was getting a 401 error, but now I get nothing. It must be some sort of permission problem. Anyone have any ideas?
>
>
>WebClient myWebClient = new WebClient();
>myWebClient.DownloadFile (http://localhost/CBFChome/downloads/print.gif", "print.gif");
>
>
>Thanx,
>Charlie