如果有示例就更好了。 ^v^TIdFtpProxySettings.ProxyType
=====================================================================
Connection mode to use for connections to the FTP proxy server.property ProxyType: TIdFtpProxyType;DescriptionProxyType is a TIdFtpProxyType property that represents the connection and authentication methods permitted for proxied connections to an FTP server. ProxyType is used in TIdFTP.Login to determine the method and values used for authenticating the proxied connection to the FTP server, 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.
=====================================================================
Connection mode to use for connections to the FTP proxy server.property ProxyType: TIdFtpProxyType;DescriptionProxyType is a TIdFtpProxyType property that represents the connection and authentication methods permitted for proxied connections to an FTP server. ProxyType is used in TIdFTP.Login to determine the method and values used for authenticating the proxied connection to the FTP server, 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.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货