|Subject:||FTP Proxy server settings|
|Posted by:||Peter (peter.madd…@health.wa.gov.au)|
|Date:||Wed, 19 Oct 2005|
We use a FTP proxyserver, so I am trying to use TidFTP to use this. While I have some instructions it is still not clear.
The way to use the ftp proxy using a command shell ftp client
is ftp ftpproxyserver
To do this I am setting with TidFTP
host to myrealftpserver
username to useraccount ?? needed
password to myrealpassword ?? needed
then for proxyserver settings
ProxySettings.ProxyType := fpcmUserSite; //I would assume this is the one I should use.
ProxySettings.UserName := useraccount;
ProxySettings.Password := myrealpassword;
ProxySettings.Host := FtpProxyServer;
ProxySettings.port := 21;
I then try a connect but it fails on
Connection failure - FTP logon failure : user@host expected as the login name.
Am I doing the correct things
Should I get setting ProxySettings.UserName := useraccount+'@'+myrealserver
Should Host be set to the proxy server address and ProxySettings.Host be set to my real server address.
It may be obvious to many but there is some degree of ambiguity in what these settings should actually be.
One could experiment but its nice to be set straight sometimes.
A straight FTP connection works fine.