Programming with Reflection

image\rwnprg32.gif FTPHostName property

 

Syntax

object.FTPHostName
object.FTPHostName = Value

Works with

image\r124.gif

Data type

String

 

Description

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.

Values

The default value is "".

The string cannot be more than 259 characters long.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this property