Difference between revisions of "TFtpClient.HostName"

From Overbyte
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Declaration'''<br>
+
[[Main_Page | Main page]] -> [[ICS_Components_Reference | ICS component reference]] -> [[TFtpClient]] -> [[TFtpClient.HostName | HostName]]
property HostName : String;<br><br>
+
== Definition ==
  
'''Default Value'''<br>
+
'''property''' HostName: '''string''';
None<br><br>
 
  
'''Description'''<br>
+
== Default Value ==
Sever name or IP address of the server to connect.<br><br>
+
None
  
'''Example'''<br>
+
== Description ==
 +
Sever name or IP address of the server to connect.
  
    FtpClient1.HostName := 'ftp.borland.com';
+
== Example ==
    FtpClient1.Port := 'ftp';
+
 
    FtpClient1.UserName := 'anonymous';
+
FtpClient1.HostName := 'ftp.borland.com';
    FtpClient1.Password := 'john.smith@mycomp.com';
+
FtpClient1.Port := 'ftp';
    FtpClient1.OpenAsync;                           // Non-blocking open.
+
FtpClient1.UserName := 'anonymous';
 +
FtpClient1.Password := 'john.smith@mycomp.com';
 +
FtpClient1.OpenAsync;                             // Non-blocking open.
 +
 
 +
== Best Practices ==
 +
 
 +
== How To ==

Latest revision as of 23:05, 10 September 2006

Main page -> ICS component reference -> TFtpClient -> HostName

Definition

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.

Best Practices

How To