Programming with Reflection
FTPHostName property
Syntax |
|
Works with |
|
Data type |
Returns (first syntax line) or specifies (second syntax line) the name or IP address of the server for FTP file transfers. This can be a host name that is resolved by the Hosts file on your PC or by a domain name server on your network. You can also specify an IP address, for example:
Session.FTPHostName = "124.24.36.85"
This property is relevant only for transfers that use the FTP protocol. You must already be connected to a host before initiating FTP file transfer. Use this property if you want to initiate FTP file transfer to a different host.
The default value is "".
The string cannot be more than 259 characters long.