Showing:

Annotations
Attributes
Diagrams
Properties
Used by
Element CommandBeforeFile
Annotations
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}

Diagram
Diagram YADE_configuration_v1_12_xsd_Simple_Type_NotEmptyType.tmp#NotEmptyType YADE_configuration_v1_12_xsd_Element_CommandBeforeFile.tmp#CommandBeforeFile_enable_for_skipped_transfer
Type extension of NotEmptyType
Type hierarchy
Properties
content complex
Used by
Attributes
QName Type Default Use Annotation
enable_for_skipped_transfer xs:boolean false optional
Notes
Attribute CommandBeforeFile / @enable_for_skipped_transfer
Annotations
Notes
Type xs:boolean
Properties
default false
Used by