Discuss this help topic in SecureBlackbox Forum
Uploads files by mask.
Declaration
Parameters
TSBFileTransferMode values:
|
TSBFileCopyMode values:
|
TSBCaseConversion values:
|
Description
Use this method to upload one or more files from the local disk (or the virtual file system, when the appropriate file system adapter is set) to the server. The method uses PipelineLength and UploadBlockSize to calculate the sizes of the chunks sent to the server. To select the ASCII or binary transfer mode use the ASCIIMode property.
Files are chosen by the 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.