Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the INET component to ftp past a firewall

Status
Not open for further replies.

AndyAML

Programmer
Joined
May 23, 2001
Messages
4
Location
US
I have just started to attempt to write a vb6 program which automatically ftp's files from one computer to another.

Unfortunately an added dificulty is that it has to get past a firewall on it way out. So far I have experimented by adding the following code.

Private Sub Form_Load()
Dim pass
pass = getPass()
With Inet1
.URL = " .UserName = "andy"
.Password = pass
.Protocol = icFTP
.AccessType = icNamedProxy
.RemotePort = 21
.Proxy = "proxy.com"
.Execute
End With
End Sub

But I can't find any way of specifying a user name and password for the proxy.

This code returns a cannot connect to remote host error.

Is this possible or should I give up now?

Andy
 
I have the same problem. However, I haven't find the solution in this link - .

In this link, just "Using the Proxy Property in the Internet Transfer Control" is explained. I haven't see user name or password for passing proxy. Is there another solution?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top