Results 1 to 2 of 2

Thread: Proxy Unames and Pass with DownloadFile

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    35

    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?

  2. #2

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    35
    noone knows?! oh dear!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width