References
Notes
Specifies the commands to be executed for each file on the server before transfer
of files.
- For an SFTP server: the SSH channel has to be available and then the commands have
to be shell commands.
- For an FTP server: FTP commands have to be used
- For the LocalSource:
you can use shell commands, depending on the operating system (Unix, Windows).
The following special variables are available:
- See:
- Date/time variables:
-
$date - the current date in yyyy-MM-dd format.
-
$time - the current time in Format HH:mm:ss format.
- Directory variables:
-
${TargetDirFullName} - the directory where files are stored on the target system.
-
${SourceDirFullName} - the directory where files are stored on the source system.
- The name of a file on the target host:
-
${TargetFileFullName}
-
${TargetFileRelativeName}
-
${TargetFileBaseName}
-
${TargetFileParentFullName}
-
${TargetFileParentBaseName}
- The name of a file on the target host during transfer (a file name can be prefixed
or suffixed):
-
${TargetTransferFileFullName}
-
${TargetTransferFileRelativeName}
-
${TargetTransferFileBaseName}
-
${TargetTransferFileParentFullName}
-
${TargetTransferFileParentBaseName}
- The name of a file on the source host:
-
${SourceFileFullName}
-
${SourceFileRelativeName}
-
${SourceFileBaseName}
-
${SourceFileParentFullName}
-
${SourceFileParentBaseName}
- The name of a file on the source host after Rename operation:
-
${SourceFileRenamedFullName}
-
${SourceFileRenamedRelativeName}
-
${SourceFileRenamedBaseName}
-
${SourceFileRenamedParentFullName}
-
${SourceFileRenamedParentBaseName}