Unit
ScSFTPClient
Description
The TScSFTPClient component implements functionality of SFTP client.
SFTP protocol provides secure file transfer (and more generally file system access). It is used to implement secure remote file system service, as well as secure file transfer service.
SFTP client runs over secure channel using the SSH protocol. On that the SFTP client authentication is performed on the SSH protocol level. The secure connection is provided by an SSH client that can be assigned to the SSHClient property.
Use the ReadBlockSize and WriteBlockSize properties to increase the performance.
The TScSFTPClient class throws an EScSFTPError exception when error occur during execution of any command to the SFTP server. The EScSFTPError.ErrorCode property contains a value that indicates the source of the error.