|
-
Apr 7th, 2003, 06:57 PM
#1
Thread Starter
Member
Proxy Unames and Pass with DownloadFile
Hi all
Just wondering if anyone knows how i can get through my proxy when trying to use WebClient.DownloadFile
The error i get is ...
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.DownloadFile(String address, String filename)
at PeepingTom_CSharp.classificationThreadContainer.downloadFile(String url) in e:\summerwork\peepingtim-csharp\landcclass.cd:line 1312
Obviously it wan't me to authenticate and the http request is already doing this (that is the browser i have in the same window asks for the uname and pass and gets the page fine) but i can't seem to find a way to make the downloadFile method ask.
Any ideas?
-
Apr 9th, 2003, 08:44 PM
#2
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|