Unit
ScFTPClient
Description
The TScFTPClient component implements functionality of FTP/FTPS client.
FTP protocol is used to implement remote file system service, as well as file transfer service.
FTP client supports data transfer over a secure TLS/SSL channel (FTPS protocol). To manage security, you can use the TLSMode property.
To download a file, use the Dowload method, to upload - Upload. To obtain a list of files on the server - the ListDir, ListDirDetails, and ExtListDirDetails methods.
The TScFTPClient class throws an EScFTPError exception when an error occurs during execution of any command to the FTP server. The EScFTPError.FTPErrorCode property contains a value that indicates the source of the error.
See Also