property ProxySettings: TIdFtpProxySettings;DescriptionProxySettings is a TIdFtpProxySettings property that represent settings to use for connections opened using an FTP proxy server. Use of ProxySettings are required only when proxied connections to the FTP server are needed.ProxySettings contains properties that indicate the TIdFtpProxyType to use when establishing the proxied connection using the Host, Port, Username, and Password property values located in ProxySettings.The Host and Port values in ProxySettings are used in Connect to establish the control channel connection for the FTP client when ProxySettings.ProxyType contains a value other than fpcmNone.ProxySettings.ProxyType also indicates both the method and values used for authenticating the proxied connection to the FTP server in Login, according to the following proxy type values and methodologies:Value Meaning
-------------------- ------------------------------------------------
fpcmNone: Sends the Username and optional Password found in the FTP client.fpcmUserSite: Sends the Username and optional Password in ProxySettings, followed immediately by the Username and optional Password found in the FTP client.fpcmSite: Sends the Username and optional Password in ProxySettings, the SITE command and the value in the Host property, and the Username and optional Password in the FTP client.fpcmOpen: Sends the Username and optional Password in ProxySettings, sends the OPEN command with the value in Host, and the Username and optional Password for the FTP client.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.fpcmCustomProxy: Signals the OnCustomFTPProxy event handler to perform the FTP protocol exchange.
重点是ProxyType,当不使用代理,用IE代理,用HTTP代理,和用SOCKET代理,该分别用哪个值?
-------------------- ------------------------------------------------
fpcmNone: Sends the Username and optional Password found in the FTP client.fpcmUserSite: Sends the Username and optional Password in ProxySettings, followed immediately by the Username and optional Password found in the FTP client.fpcmSite: Sends the Username and optional Password in ProxySettings, the SITE command and the value in the Host property, and the Username and optional Password in the FTP client.fpcmOpen: Sends the Username and optional Password in ProxySettings, sends the OPEN command with the value in Host, and the Username and optional Password for the FTP client.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.fpcmCustomProxy: Signals the OnCustomFTPProxy event handler to perform the FTP protocol exchange.
重点是ProxyType,当不使用代理,用IE代理,用HTTP代理,和用SOCKET代理,该分别用哪个值?
解决方案 »
- 如何在子Frames1中调用父子Frames0的例程?
- 插入数据后,如何能看到dbgrideh里的数据更新?
- [Pascal Error] Main.pas(1): Unable to invoke Code Completion due to errors in source code
- 求助控件下载及安装~~
- 如何编程实现获得SQL Server 服务器的服务器名和用户名,有相应的函数吗?
- 从1234中取出第一个数的函数是什么?因为我要判断1234和g234第一个数是1还是g.thank!
- 关于Delphi7是否支持XP界面?
- 一个简单的问题(在线等)
- 有关查询的问题(能帮我者给100分)
- 谁能把 Double 类型转换成 String?
- 公司打算采购一套IVR系统,做这的朋友请联系
- 如何实现DbgridEh过滤后根据Dbgrideh的footer的值计算比率
fpcmNone:发送FTP客户端的用户名和可选密码(即包含匿名情况,匿名不需要密码)。fpcmUserSite: Sends the Username and optional Password in ProxySettings, followed immediately by the Username and optional Password found in the FTP client.
fpcmUserSite:发送在代理设置里的用户名和可选密码,以及紧跟着的FTP客户端用户名和可选密码。fpcmSite: Sends the Username and optional Password in ProxySettings, the SITE command and the value in the Host property, and the Username and optional Password in the FTP client.
fpcmSite:发送在代理设置里的用户名和可选密码、SITE命令、Host属性的值和FTP客户端用户名和可选密码。fpcmOpen: Sends the Username and optional Password in ProxySettings, sends the OPEN command with the value in Host, and the Username and optional Password for the FTP client.
fpcmOpen:发送在代理设置里的用户名和可选密码,发送以Host属性值(为参数)的OPEN命令和FTP客户端用户名和可选密码。fpcmUserPass: Calls SendCmd with the command USER user@proxyuser@host, calls SendCmd with the command PASS pwd@proxypwd, or optionally PASS pwd.
fpcmUserPass:调用SendCmd,参数USER user@proxyuser@host的命令,调用SendCmd,参数PASS pwd@proxypwd的命令或者是PASS pwd@proxypwd。fpcmTransparent: Sends the ProxySettings Username and optional Password, followed immediately by the FTP client Username and optional password.
fpcmTransparent:发送在代理设置里的用户名和可选密码,以及紧跟着的FTP客户端用户名和可选密码。(和fpcmUserSite类似)fpcmHttpProxyWithFtp: Not implemented at this time.
fpcmHttpProxyWithFtp:目前还没有实现。fpcmCustomProxy: Signals the OnCustomFTPProxy event handler to perform the FTP protocol exchange.
fpcmCustomProxy:发送OnCustomFTPProxy事件句柄信号来执行FTP协议的交换。
自己翻译的,各位见笑了