SFTP template execution parameters

You use execution parameters to create the input process script in the Preprocessing tab.

For descriptions of the input fields, see the table in SFTP template inputs.
Note: You must use the executionParam. prefix with all variables in this table.
Table 1. SFTP execution parameters
Name Variable Type Usage
Command command String Identifies the function of this activity. The possible commands are:
  • Copy file
  • Create directory
  • Get file list
  • Remove file or directory
  • Rename file or directory
  • Set file attributes
Source source String Identifies the source host.
Source port source_port Integer Identifies the port used to communicate with the source host.
Source directory source_directory String Path to the source directory of the files to be moved.
Source files source_files String Names of the files on the source to be moved.
Excluded files excluded_files String Lists the files excluded from the operation.
Source file path source_file_path String Path to the source files to be moved.
Target host target_host String Identifies the target host.
Target port target_port Integer Identifies the port used to communicate with the target host.
Target directory target_directory String Full path to the target directory on the target host.
Target file path target_file_path String Full path to a file or directory on the source host or on the target host. For example, this value is used in the Rename File or Directory activity in the activity pack.
Temp file postfix temp_file_postfix String

Temporary file name extension used by the Copy File activity when moving a file. If this field contains an extension, the source file is copied to a temporary file using target file name + temp_file_postfix, before being renamed to the actual target file. If this field is blank, the source file is copied directly to the target file.

Is directory is_directory Boolean Indicates whether the given file path is a directory.
Include subfolders include_subfolders Boolean Indicates whether the system looks into subfolders of the source directory for files to include and exclude.
File attribute uid file_attribute_uid Integer User ID associated with a file or directory.
File attribute gid file_attribute_gid Integer Group ID associated with a file or directory.
File attribute permissions file_attribute_permissions Integer File or directory permissions for the user and group specified.
File attribute atime file_attribute_atime Integer Access time stamp from the file attributes.
File attribute mtime file_attribute_mtime Integer Modification time stamp from the file attributes.
File attribute size file_attribute_size Integer Size of the file, in bytes.
Source credential tag source_credential_tag String Credential tag used to run the command on the source host.
Target credential tag target_credential_tag String Credential tag used to run the command on the target host.
MidCapabilities midCapabilities String (comma separated) List of required MID Server capabilities.