Indy 9
TIdFtpProxyType
See Also, Unit: IdFTP
Represents enumerated values for proxy types used for connections to an FTP server.
TIdFtpProxyType = (fpcmNone, fpcmUserSite, fpcmSite, fpcmOpen, fpcmUserPass, fpcmTransparent, fpcmHttpProxyWithFtp);
Unit
IdFTP
Description
TIdFtpProxyType is an enumerated type that represents the connection and authentication methods permitted for proxied connections to an FTP server. TIdFtpProxyType is the type used to represent the TIdFtpProxySettings.ProxyType property as used in TIdFTP.

TIdFtpProxyType indicates both the method and values used for authenticating the proxied connection to the FTP server in TIdFTP.Login, according to the following proxy type values and methodologies:

  • fpcmNone - Sends the FTP client Username and optional Password.

  • fpcmUserSite - Sends the ProxySettings Username and optional Password, followed immediately by the FTP client Username and optional Password.

  • fpcmSite - Sends the ProxySettings Username and optional Password, sends the SITE command and the FTP Host property, and the FTP client Username and optional Password.

  • fpcmOpen - Sends the ProxySettings Username and optional Password, sends the OPEN command with the FTP Host property, and the FTP client Username and optional Password.

  • fpcmUserPass - Calls SendCmd with the command USER user@proxyuser@host, calls SendCmd with the command PASS pwd@proxypwd, or optionally PASS pwd.

  • fpcmTransparent - Sends the ProxySettings Username and optional Password, followed immediately by the FTP client Username and optional password.

  • fpcmHttpProxyWithFtp - Not implemented at this time.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.