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 to the local disk (or to the virtual file system, when the appropriate file system adapter is set). The method uses PipelineLength and DownloadBlockSize to calculate the size of the chunks which are requested from the server. To specify the ASCII or the binary transfer mode, use the ASCIIMode property.
Files are chosen by mask which can be a simple mask, a set of masks or a regular expression (read more about masks).
Since SecureBlackbox version 13, file masks in group operations support expressions.
In case of error, EElSFTPError exception containing the SFTP error code, is raised. For more information on error handling, please read the corresponding how-to article.