Difference between revisions of "TFtpClient.HostName"

From Overbyte
Jump to navigation Jump to search
(No difference)

Revision as of 21:27, 10 September 2006

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.