...
Variables can be used in pre- and post-processing commands.
Such variables provide the path and name of files during a transfer..
Refactored Variables
See
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
- File separator (all paths)
\
: if the pre/post command executed on a Windows machine./
: if the pre/post command executed on a not Windows machine.
- All directory paths provides the path without a trailing slash or backslash.
Directory | ${SourceDirFullName | Directory | ${SourceDirName} | ${ | TargetDirNameTargetDirFullName} | Note | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The directory where files are stored on the source or target systems |
|
| ||||||||||||
Target File Name | Target Settings | ${TargetFileFullName} | ${TargetFileRelativeName} | ${TargetFileBaseName} | ${TargetFileParentFullName} | ${TargetFileParentBaseName} | ||||||||
The name of a file on the target host. |
|
|
|
|
|
| ||||||||
|
|
|
|
|
| |||||||||
Target Transfer File Name | Target Settings | ${TargetTransferFileFullName} | ${TargetTransferFileRelativeName} | ${TargetTransferFileBaseName} | ${TargetTransferFileParentFullName} | ${TargetTransferFileParentBaseName} | ||||||||
During transfer of a file its name can temporary differ: files can be prefixed or suffixed to indicate temporary names.
of the target |
|
|
|
|
|
| ||||||||
|
|
|
|
|
| |||||||||
Source File Name | Source Settings | ${SourceFileFullName} | ${SourceFileRelativeName} | ${SourceFileBaseName} | ${SourceFileParentFullName} | ${SourceFileParentBaseName} | ||||||||
The name of a file on the source host.
|
|
|
|
|
| |||||||||
Source File Renamed Name | Source Settings | ${SourceFileRenamedFullName} | ${SourceFileRenamedRelativeName} | ${SourceFileRenamedBaseName} | ${SourceFileRenamedParentFullName} | ${SourceFileRenamedParentBaseName} | ||||||||
The name of a file on the source host after Rename Operation. |
| No values are provided for the variables | ||||||||||||
|
|
|
|
|
|
Deprecated Variables
See
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
- File separator (all paths)
\
: if the pre/post command executed on a Windows machine./
: if the pre/post command executed on a not Windows machine.
- All directory paths provides the path with a trailing slash or backslash.
Directory | ${SourceDirName} | ${TargetDirName} | |||||
---|---|---|---|---|---|---|---|
The directory where files are stored on the source or target systems |
|
| The directory is provided with a trailing backslash|||||
Target File Name | $TargetFileName | ${TargetFileName} | $TargetTransferFileName | ${TargetTransferFileName} | |||
The name of a file on the target host (TargetFileName) without replacements being applied. During transfer of a file its name can temporarily differ (TargetTransferFileName): files can be prefixed or suffixed to indicate temporary names. Depending on the variables used absolute and relative paths are provided for files. |
|
| During transfer files can be prefixed or suffixed to indicate temporary names.
|
| |||
The target file name including replacements applied with the following sample settings:
Replacements are not applied to to temporary names of files during transfer. |
|
|
|
| |||
Source File Name | $SourceFileName | ${SourceFileName} | $SourceTransferFileName | ${SourceTransferFileName} | |||
The name of a file on the source host without replacements being applied. During transfer of a file the path is tripped from the file name. |
|
|
|
| |||
No replacements are applied to source and target file name variables. |
|
|
|
| |||
Source File Name after Rename Operation | $RenamedSourceFileName | ${RenamedSourceFileName} | Note | ||||
If no source replacement is specified then no values are provided fore the variables. | |||||||
The source file name with replacements being applied that include the following sample settings:
|
|
|
|