Programming with FTP OLE Automation
PassthroughServerStyle property
Syntax |
Object.PassthroughServerStyle |
Data type |
Enumeration |
Returns (first syntax line) or specifies (second syntax line) the style of passthrough server the FTP Client will log into.
The FTP Client supports two styles of passthrough servers. Select the style that applies to your site. This setting is ignored if the ProxyServer property is set to rcProxyNone or rcSOCKSProxy.
The FTP Client sends different commands to log into the passthrough server and connect to an FTP server, based on the style of server you specify.
The default value is rcSITE_SERVERNAME.
Symbolic Constant Name |
Numeric Value |
rcSITE_SERVERNAME |
1 |
rcUSERNAME_SERVERNAME |
2 |
Use this style if your passthrough server sends a SITE command to connect to the FTP server.
To work with this style of passthrough server, set properties for the passthrough server. Then, call the Open method, which opens a connection to the passthrough server. The passthrough server uses the arguments specified in the Open method to make the connection to the FTP server.
Use this style if your passthrough server requires FTP server logon information in the format username@servername.
None