Features | Detailed Description
Available in .NET and VCL editions.
The SFTP Server component is used to upload and download files, and manage remote files and directories.
This component represents the fully functional multithreaded server with the ability to customize the user and thread performance settings, as specified in the http://tools.ietf.org/html/draft-ietf-secsh-filexfer-02 document.
With the SFTP Server component you can enable the debug log to display all accepted commands and server replies.
You can use RSA host keys to establish the SSH connection.
Please see the Demos code (SFtpServer) 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 SFTP Server component can be seen below:
Name |
Description |
Banner |
Gets or sets an SSH banner text, which should be diplayed by a client during the user authorization process. |
BatchSize |
Specifies the size of the transferred batch. |
CaseInsensitive |
Specifies whether the user account validation is case-insensitive. |
Config |
Gets the configuration information for the implemented security algorithms. |
HostKey |
Provides the server hostkey information, which us necessary to establish the SSH connection. |
MaxThreadCount |
Gets or Sets the number of requests to the server that can be active concurrently. |
MaxWindowSize |
Specifies the maximum data window size, in bytes, which the server can accept from a client |
MinThreadCount |
Gets or Sets the number of idle threads the server maintains in anticipation of new requests. |
Port |
Specifies the port on which the SFTP server will listen to the user connections. |
RootDir |
Represents the root directory to which the SFTP server virtual directory is mapped. |
TimeOut |
Determines the time-out interval (in milliseconds) for initiating socket operations. |
UserAccounts |
Provides a list of SFTP users, which are allowed to connect to the SFTP server. |
Name |
Description |
Start |
Starts the SFTP server. |
Stop |
Stops the SFTP server. |
Name |
Description |
OnAcceptConnection |
Occurs when the server has accepted the connection from a client. |
OnCloseConnection |
Occurs when the client connection has been closed. |
OnGetFileList |
Occurs when a user has requested information about files and directories on the SFTP server. |
OnMakeDir |
Occurs when a user creates a directory on the SFTP server. |
OnMakeLink |
Occurs when a user creates a symbolic link (Symlink) on the SFTP server. |
OnOpenFile |
Occurs when a user opens a file for reading or writing. |
OnReadLink |
Occurs when a user resolves a symbolic link (Symlink) and expects a real file path on the SFTP directory. |
OnReceiveRequest |
Occurs when the server has received a command from a user. |
OnRemoveDir |
Occurs when a user deletes a directory from the SFTP server. |
OnRemoveFile |
Occurs when a user deletes a file from the SFTP server. |
OnRename |
Occurs when a user renames a file on the SFTP server. |
OnSendResponse |
Occurs when the server has sent a response on the command being received earlier. |
OnServerError |
Occurs when an error is encountered when any action is performed. |
OnSetAttributes |
Occurs when a user is about to change attributes for the specified file on the SFTP server. |
|