Discuss this help topic in SecureBlackbox Forum
TElSimpleSFTPClient.DownloadFiles
Downloads files by mask or regular expression.
Declaration
Parameters
TSBFileTransferMode values:
|
TSBFileCopyMode values:
|
TSBCaseConversion values:
|
Description
Use this method when you want to download one or more files from the server from the server to the local disk (or in virtual file system, if the appropriate file system adapter is used). The method uses PipelineLength and DownloadBlockSize to calculate the size of the chunks, which are requested from the server. To select ASCII or binary transfer mode use ASCIIMode property.
Files are chosen by mask which can be a simple mask, set of masks or regular expression (read more about masks).
In case of error, EElSFTPError exception containing SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.