Difference between revisions of "TFtpClient"
Jump to navigation
Jump to search
| Line 19: | Line 19: | ||
|- | |- | ||
| valign="top" | [[TFtpClient.HostName | HostName]] |||| Server name or IP address of the server to connect. | | valign="top" | [[TFtpClient.HostName | HostName]] |||| Server name or IP address of the server to connect. | ||
| + | |- | ||
| + | | valign="top" | [[TFtpClient.LocalAddr | LocalAddr]] |||| Bind to this IP address when connecting. | ||
|- | |- | ||
| valign="top" | [[TFtpClient.LocalFileName | LocalFileName]] |||| Name of the file on the local PC. | | valign="top" | [[TFtpClient.LocalFileName | LocalFileName]] |||| Name of the file on the local PC. | ||
Revision as of 01:29, 11 September 2006
Main page -> ICS components reference -> TFtpClient
Contents
Overview
- unit FtpCli.pas
- inheritance TFtpClient - TComponent
TFtpClient component is implementing the client side FTP protocol described in RFC 959. FTP protocol is the standard protocol for transfering files.
Properties
| Binary | Used to set file transfer to be either binary or ASCII. Must call TypeSet or TypeSetAsync to activate. | |
| Handle | Handle for underlaying hidden window. | |
| HostDirName | Server folder name. | |
| HostFileName | Name of the file on the server. | |
| HostName | Server name or IP address of the server to connect. | |
| LocalAddr | Bind to this IP address when connecting. | |
| LocalFileName | Name of the file on the local PC. | |
| PassWord | Password for login if required. | |
| Port | IP port of the server to connect. | |
| TimeOut | Command timeout setting. | |
| UserName | User's login name. |
Methods
| Abort | Abort the current operation. |
Events
| OnRequestDone | Triggered when a request is completed. |
How to
How to implement a timeout for TFtpCli in my application?