Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.Host Property

Represents the IP address or host name for the remote FTP server.

Pascal
property Host;

Host is a Published property in TIdFTP, and represents the IP address or host name for the remote FTP server. 

Values in the Host and Port properties are used in the Connect method to establish and initialize the connection used as the control channel for the FTP client session. When ProxySettings contains ProxyType and Host values, the Host and Port properties in ProxySettings are used to open the initial connection for the FTP client session. After the control channel connection is opened, the Host and Port properties revert to their previous values. 

Set values in the Host, Port, and ProxySettings properties prior to calling the Connect method. 

Use Port to specifiy the port number for the FTP client session.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.