Difference between revisions of "TFtpServer"

From Overbyte
Jump to navigation Jump to search
Line 27: Line 27:
 
|-
 
|-
 
| valign="top" | [[TFtpServer.Options | Options]] |||| Options set to change component behaviour.
 
| valign="top" | [[TFtpServer.Options | Options]] |||| Options set to change component behaviour.
 +
|-
 +
| valign="top" | [[TFtpClient.ClientCount | ClientCount]] |||| Actual number of connected clients. Runtime only.
 +
|-
 +
| valign="top" | [[TFtpClient.Client | Client]] |||| Array of connected clients. Runtime only.
 +
|-
 +
| valign="top" | [[TFtpClient.Active | Active]] |||| Set/Get server state. Runtime only.
 +
|-
 +
| valign="top" | [[TFtpClient.Handle | Handle]] |||| Handle for underlaying hidden window. Runtime only.
 +
|-
 +
| valign="top" | [[TFtpClient.ServSocket | ServSocket]] |||| Underlaying listening socket. Runtime only.
 
|}
 
|}
  
 
== Methods ==
 
== Methods ==
 +
 +
{|
 +
| valign="top" width="150" | [[TFtpClient.Start | Start]] |||| Make the server listening for clients.
 +
|-
 +
| valign="top" | [[TFtpClient.Stop | Stop]] |||| Make the server stop listening for client. Doesn't disconnect connected clients.
 +
|-
 +
| valign="top" | [[TFtpClient.Disconnect | Disconnect]] |||| Disconnect a single client.
 +
|-
 +
| valign="top" | [[TFtpClient.DisconnectAll | DisconnectAll]] |||| Disconnect all clients.
 +
|-
 +
| valign="top" | [[TFtpClient.IsClient | IsClient]] |||| Check if an instance is an actual client.
 +
|}
  
 
== Methods ==
 
== Methods ==

Revision as of 16:46, 3 December 2006

Main page -> ICS components reference -> TFtpServer

Overview

  • unit FtpSrv.pas
  • inheritance TFtpServer - TComponent

TFtpServer component is implementing the server side FTP protocol described in RFC 959. FTP protocol is the standard protocol for transfering files.

Properties

Addr IP address of the interface to listen on. Use 0.0.0.0 to listen on all interfaces.
Port TCP port to listen to.
Banner Welcome message sent to client.
UserData Data passed to each client instance.
MaxClient Maximum number of simultaneous client to be accepted.
PasvIpAddr IP address used for passive mode.
PasvPortRangeStart TCP port range start to be used for passive mode.
PasvPortRangeSize TCP port range size to be used for passive mode.
Options Options set to change component behaviour.
ClientCount Actual number of connected clients. Runtime only.
Client Array of connected clients. Runtime only.
Active Set/Get server state. Runtime only.
Handle Handle for underlaying hidden window. Runtime only.
ServSocket Underlaying listening socket. Runtime only.

Methods

Start Make the server listening for clients.
Stop Make the server stop listening for client. Doesn't disconnect connected clients.
Disconnect Disconnect a single client.
DisconnectAll Disconnect all clients.
IsClient Check if an instance is an actual client.

Methods

How to


ICS Components Reference