Features | Detailed Description
Available in .NET, VCL and ActiveX editions.
The FTP Server component is used for uploading and downloading files, as well as managing files and directories.
This component represents fully functional multithreaded server with the ability to customize the user and thread performance settings, supports all FTP extensions according to both the RFC-765 and RFC-959 protocols.
With FTP Server component you can enable debug log for showing entered commands and replies sent to the user.
You can use X.509 certificates for establishing the SSL / TLS secured connection. See FTP + SSL and Using certificates
Please see the Demos code (FtpServer, FtpServerSSL, SvComFtpServer) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.
The most common members of the FTP Server component can be seen below:
Name |
Description |
AllowAnonymousAccess |
Specifies whether the anonymous access is allowed. |
BatchSize |
Specifies the size of the transferred batch. |
CaseInsensitive |
Specifies whether the user account validation is case-insensitive. |
DirListingStyle |
Specifies the FTP directory listing style. |
MaxThreadCount |
Gets or Sets the number of requests to the server that can be active concurrently. |
MinThreadCount |
Gets or Sets the number of idle threads the server maintains in anticipation of new requests. |
Port |
Specifies the port on which the FTP server will listen to the user connections. |
RootDir |
Represents the root directory to which the FTP server virtual directory is mapped. |
TimeOut |
Determines the time-out interval (in milliseconds) for initiating socket operations. |
UserAccounts |
Provides a list of FTP users which have allowed to connect to the FTP server. |
UseTLS |
Specifies whether the component should use the TLS / SSL security protocol. |
Name |
Description |
Start |
Starts the FTP server. |
Stop |
Stops the FTP server. |
Name |
Description |
OnAcceptConnection |
Occurs when the server has accepted the connection from a client. |
OnAuthenticate |
Occurs when the FTP server has accepred the authentication information from the user and needs to authorize or decline the connection. |
OnCloseConnection |
Occurs when the client connection has been closed. |
OnDelete |
Occurs when user deletes a file from the FTP server. |
OnGetCertificate |
Occurs when a server needs a certificate for establishing connection. |
OnGetFile |
Occurs when user downloads a file from the FTP server. |
OnGetFileList |
Occurs when user has requested the information about files and directories on the FTP server. |
OnPutFile |
Occurs when user uploads a file to the FTP server. |
OnReceiveCommand |
Occurs when the FTP server has received a command from the user. |
OnSendResponse |
Occurs when the FTP server has sent a reply on the command being received earlier. |
OnServerError |
Occurs when an error is encountered when any action is performed. |
|