|
Summary
Password used for proxy server authentication.
Description
The ProxyPassword property is used during the login process to the ftp server through proxy server. Some proxy servers require both a user name and a correct password for user authentication.
Before connecting to a ftp server through a proxy server, the application must also set the ProxyUser, ProxyHost, ProxyPort and ProxyType property.
For security reasons, both the user name and the password are usually obtained from the user just before a connection is established. If security is not an important issue and the application will
always connect to the same FTP server through proxy server with the same user name and password, then these two properties can be set at design time.
This property can be changed at design time and at run time before a connection has been established. There is no default value for this property.
Example
FTPClient.ProxyHost = ftp.distinct.com
FTPClient.ProxyPort = 80
FTPClient.ProxyUser = "anonymous"
FTPClient.ProxyPassword = "distinct"
FTPClient.ProxyType = PROXY_TYPE_HTTP
Result = FTPClient.Connect ("speedy.distinct.com", "santa", "north pole", "sc001d")
|