Difference between revisions of "TFtpClient"

From Overbyte
Jump to navigation Jump to search
Line 12: Line 12:
 
{|
 
{|
 
| valign="top" width="150" | [[TFtpClient.Binary | Binary]] |||| Used to set file transfer to be either binary or ASCII.<br>''Must call TypeSet or TypeSetAsync to activate''.
 
| valign="top" width="150" | [[TFtpClient.Binary | Binary]] |||| Used to set file transfer to be either binary or ASCII.<br>''Must call TypeSet or TypeSetAsync to activate''.
|}
+
|-
{|
+
| valign="top" | [[TFtpClient.Handle | Handle]] |||| Handle for underlaying hidden window.
| valign="top" width="150" | [[TFtpClient.Handle | Handle]] |||| Handle for underlaying hidden window.
+
|-
|}
+
| valign="top" | [[TFtpClient.HostDirName | HostDirName]] |||| Server folder name.
{|
+
|-
| valign="top" width="150" | [[TFtpClient.HostDirName | HostDirName]] |||| Server folder name.
+
| valign="top" | [[TFtpClient.HostFileName | HostFileName]] |||| Name of the file on the server.
|}
+
|-
{|
+
| valign="top" | [[TFtpClient.HostName | HostName]] |||| Server name or IP address of the server to connect.
| valign="top" width="150" | [[TFtpClient.HostFileName | HostFileName]] |||| Name of the file on the server.
+
|-
|}
+
| valign="top" | [[TFtpClient.LocalFileName | LocalFileName]] |||| Name of the file on the local PC.
{|
+
|-
| valign="top" width="150" | [[TFtpClient.HostName | HostName]] |||| Server name or IP address of the server to connect.
+
| valign="top" | [[TFtpClient.PassWord | PassWord]] |||| Password for login if required.
|}
+
|-
{|
+
| valign="top" | [[TFtpClient.Port | Port]] |||| IP port of the server to connect.
| valign="top" width="150" | [[TFtpClient.LocalFileName | LocalFileName]] |||| Name of the file on the local PC.
+
|-
|}
+
| valign="top" | [[TFtpClient.TimeOut | TimeOut]] |||| Command timeout setting.
{|
+
|-
| valign="top" width="150" | [[TFtpClient.PassWord | PassWord]] |||| Password for login if required.
+
| valign="top" | [[TFtpClient.UserName | UserName]] |||| User's login name.
|}
 
{|
 
| valign="top" width="150" | [[TFtpClient.Port | Port]] |||| IP port of the server to connect.
 
|}
 
{|
 
| valign="top" width="150" | [[TFtpClient.TimeOut | TimeOut]] |||| Command timeout setting.
 
|}
 
{|
 
| valign="top" width="150" | [[TFtpClient.UserName | UserName]] |||| User's login name.
 
 
|}
 
|}
  

Revision as of 21:59, 10 September 2006

Main page -> ICS components reference -> TFtpClient

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.
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?



ICS Components Reference