My.Computer.Network.Downloadfile requires proxy authentication
Hi All,
I've written a small app that during it's course of operation, downloads files using http.
Sometimes when I run the app it works fine and then other times a web exception is raised stating that proxy authentication is required.
Please can somebody tell me how I can set the downloadfile method to use proxy information?
Regards
Andrew
[381 byte] By [
adupton] at [2007-12-28]
in the 3rd overload for the method, supply it the username/password - does that work? Example:
My.Computer.Network.DownloadFile("addressURL", "FileName", "username", "password")
does this work?
I'm using this overload of the downloadfile method
My.Computer.Network.DownloadFile(address, destination, username, password, showUI, timeout, overwrite)
and this doesn't work!!
The above overload of the method works intermitently.
Sometimes the files are downloaded and other times I get a mesage stating proxy authentication is required.
Our server is using a proxy with a pac file