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
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