TFtpClient.HostName
Jump to navigation
Jump to search
Declaration
property HostName : String;
Description
Sever name or IP address of the server to connect.
Example
FtpClient1.HostName := 'ftp.borland.com'; FtpClient1.Port := 'ftp'; FtpClient1.UserName := 'anonymous'; FtpClient1.Password := 'john.smith@mycomp.com'; FtpClient1.OpenAsync; // Non-blocking open.