C
Chris
Hi,
I try to download a file using the following :
WebClient client = new WebClient();
client.Credentials = new NetworkCredential("Administrator",
"test","MYPC");
client.DownloadFile("http://localhost/afile.txt", "c:\\test.txt");
but I get an error :
The remote server returned an error: (403) Forbidden.
how come ?
thanks
Chris
(I'm executing everything on my machine where I'm logged in as
'Administrator')
I try to download a file using the following :
WebClient client = new WebClient();
client.Credentials = new NetworkCredential("Administrator",
"test","MYPC");
client.DownloadFile("http://localhost/afile.txt", "c:\\test.txt");
but I get an error :
The remote server returned an error: (403) Forbidden.
how come ?
thanks
Chris
(I'm executing everything on my machine where I'm logged in as
'Administrator')