sarcus25
Programmer
- Apr 14, 2005
- 27
Hi,
I am trying to download a file with my program in the office but I am getting a (407) Proxy Authentication Required error message. I can download fine outside of the office but it seems my program is getting blocked by our proxy server. I have a username and password that I use to gain access to the web and our ftp site. It prompts me for this when I try to connect to a web site or go to our ftp. My question how do I go about auto validating my login though the proxy server so that I can download from my ftp site. My code for downloading the file from ftp is below.Thanks in advance.
I am trying to download a file with my program in the office but I am getting a (407) Proxy Authentication Required error message. I can download fine outside of the office but it seems my program is getting blocked by our proxy server. I have a username and password that I use to gain access to the web and our ftp site. It prompts me for this when I try to connect to a web site or go to our ftp. My question how do I go about auto validating my login though the proxy server so that I can download from my ftp site. My code for downloading the file from ftp is below.Thanks in advance.
Code:
My.Computer.Network.DownloadFile("ftp://Ftp.randomserver.com/wsdl/myzip.zip", "C:\mzip.zip", "username", "password", True, 500, True)