Difference between revisions of "TFtpServer"
Jump to navigation
Jump to search
(→Events) |
|||
| Line 56: | Line 56: | ||
{| | {| | ||
| − | | valign="top" width="150" | [[ | + | | valign="top" width="150" | [[TFtpServer.OnStart | OnStart]] |||| OnStart. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnStop | OnStop]] |||| OnStop. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnAuthenticate | OnAuthenticate]] |||| OnAuthenticate. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnClientDisconnect | OnClientDisconnect]] |||| OnClientDisconnect. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnClientConnect | OnClientConnect]] |||| OnClientConnect. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnClientCommand | OnClientCommand]] |||| OnClientCommand. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnAnswerToClient | OnAnswerToClient]] |||| OnAnswerToClient. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnChangeDirectory | OnChangeDirectory]] |||| OnChangeDirectory. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnMakeDirectory | OnMakeDirectory]] |||| OnMakeDirectory. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnBuildDirectory | OnBuildDirectory]] |||| OnBuildDirectory. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnAlterDirectory | OnAlterDirectory]] |||| OnAlterDirectory. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnStorSessionConnected | OnStorSessionConnected]] |||| OnStorSessionConnected. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnRetrSessionConnected | OnRetrSessionConnected]] |||| OnRetrSessionConnected. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnRetrSessionClosed | OnRetrSessionClosed]] |||| OnRetrSessionClosed. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnRetrDataSent | OnRetrDataSent]] |||| OnRetrDataSent. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidatePut | OnValidatePut]] |||| OnValidatePut. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateSize | OnValidateSize]] |||| OnValidateSize. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateDele | OnValidateDele]] |||| OnValidateDele. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateRmd | OnValidateRmd]] |||| OnValidateRmd. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateRnFr | OnValidateRnfr]] |||| OnValidateRnFr. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateRnTo | OnValidateRnTo]] |||| OnValidateRnTo. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateGet | OnValidateGet]] |||| OnValidateGet. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnStorDataAvailable | OnStorDataAvailable]] |||| OnStorDataAvailable. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnGetUniqueFileName | OnGetUniqueFileName]] |||| OnGetUniqueFileName. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnGetProcessing | OnGetProcessing]] |||| OnGetProcessing. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnBuildFilePath | OnBuildFilePath]] |||| OnBuildFilePath. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnValidateMfmt | OnValidateMfmt]] |||| OnValidateMfmt. |
|- | |- | ||
| − | | valign="top" | [[ | + | | valign="top" | [[TFtpServer.OnCalculateMd5 | OnCalculateMd5]] |||| OnCalculateMd5. |
|} | |} | ||
Revision as of 08:54, 29 September 2007
Main page -> ICS components reference -> TFtpServer
Contents
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 object is actual a client. |
Events
| OnStart | OnStart. | |
| OnStop | OnStop. | |
| OnAuthenticate | OnAuthenticate. | |
| OnClientDisconnect | OnClientDisconnect. | |
| OnClientConnect | OnClientConnect. | |
| OnClientCommand | OnClientCommand. | |
| OnAnswerToClient | OnAnswerToClient. | |
| OnChangeDirectory | OnChangeDirectory. | |
| OnMakeDirectory | OnMakeDirectory. | |
| OnBuildDirectory | OnBuildDirectory. | |
| OnAlterDirectory | OnAlterDirectory. | |
| OnStorSessionConnected | OnStorSessionConnected. | |
| OnRetrSessionConnected | OnRetrSessionConnected. | |
| OnRetrSessionClosed | OnRetrSessionClosed. | |
| OnRetrDataSent | OnRetrDataSent. | |
| OnValidatePut | OnValidatePut. | |
| OnValidateSize | OnValidateSize. | |
| OnValidateDele | OnValidateDele. | |
| OnValidateRmd | OnValidateRmd. | |
| OnValidateRnfr | OnValidateRnFr. | |
| OnValidateRnTo | OnValidateRnTo. | |
| OnValidateGet | OnValidateGet. | |
| OnStorDataAvailable | OnStorDataAvailable. | |
| OnGetUniqueFileName | OnGetUniqueFileName. | |
| OnGetProcessing | OnGetProcessing. | |
| OnBuildFilePath | OnBuildFilePath. | |
| OnValidateMfmt | OnValidateMfmt. | |
| OnCalculateMd5 | OnCalculateMd5. |