Difference between revisions of "TFtpClient.HostName"

From Overbyte
Jump to navigation Jump to search
Line 1: Line 1:
'''Declaration'''<br>
+
== Definition ==
property HostName : String;<br><br>
 
  
'''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 ==

Revision as of 23:14, 10 September 2006

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