Showing:

Annotations
Attributes
Diagrams
Properties
Used by
Element CommandAfterFile
Annotations
References Notes

Specifies the commands to be executed for each file on the server after the transfer and the Rename.

The following environment variables are available in the SFTPPostProcessing and LocalPostProcessing:

  • See YADE-471.
  • YADE_FILE_TRANSFER_STATUS
    • possible values: transferUndefined, waiting4transfer, transferring, transferInProgress, transferred, transfer_skipped, transfer_has_errors, transfer_aborted, compressed, notOverwritten, deleted, renamed, ignoredDueToZerobyteConstraint, setBack, polling
  • YADE_FILE_IS_TRANSFERRED
    • possible values: 0, 1

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_CommandAfterFile.tmp#CommandAfterFile_disable_for_skipped_transfer
Type extension of NotEmptyType
Type hierarchy
Properties
content complex
Used by
Attributes
QName Type Default Use Annotation
disable_for_skipped_transfer xs:boolean false optional
Notes
Attribute CommandAfterFile / @disable_for_skipped_transfer
Annotations
Notes
Type xs:boolean
Properties
default false
Used by