Re: FTP and Custom Proxy

Giganews Newsgroups
Subject: Re: FTP and Custom Proxy
Posted by:  Remy Lebeau (TeamB) (
Date: Thu, 14 Apr 2005

"Josh Anderson" <jo…> wrote in message

> In order to authenticate I need to be able to send these
> custom messages to the FTP Proxy
> USER username@host proxyusername
> PASS hostpassword
> ACCT proxypass

TIdFTP already supports sends those exact commands.  Set the
ProxySettings.ProxyType property to fpcmUserHostFireWallID.  Then you fill
in the values using the following properties:

username = main Username property
host = filled in automatially
proxyusername = ProxySettings.UserName property
hostpassword = main Password property
proxypass = ProxySettings.Password property

If that still does not work for you, then you can set the
ProxySettings.ProxyType property to fpcmCustomProxy and use the
OnCustomFTPProxy event to log in manually.



In response to FTP and Custom Proxy posted by Josh Anderson on Thu, 14 Apr 2005