Difference between revisions of "TFtpClient.HostName"

From Overbyte
Jump to navigation Jump to search
 
Line 1: Line 1:
 
'''Declaration'''<br>
 
'''Declaration'''<br>
 
property HostName : String;<br><br>
 
property HostName : String;<br><br>
 +
 +
'''Default Value'''<br>
 +
None<br><br>
  
 
'''Description'''<br>
 
'''Description'''<br>
Sever name or IP address of the server to connect.<br>
+
Sever name or IP address of the server to connect.<br><br>
  
 
'''Example'''<br>
 
'''Example'''<br>

Revision as of 22:37, 10 September 2006

Declaration
property HostName : String;

Default Value
None

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.