Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pre- and post-processing can be triggered for:

  • Transfer operations.
  • Individual file transfers, so when 3 three files are to be transferred, processing would be carried out three times.

In addition, post-processing can be triggered for:

  • File rename Rename operations.

Pre- and post-processing can be carried out using the FTP, SFTP  SFTP and Local local file system protocols: they are not possible with HTTP, HTTPS, SMBF or WebDAV.

Pre- and post-processing commands

The commands that can be executed as part of a pre- or post-processing operation are protocol-dependant:

  • FTP commands have to be used with the FTP protocol and
  • shell Shell commands have to be used with the SFTP protocol.

...

Note that special variables such as $target_dir and $date are available for pre- or post-processing commands. These variables are listed under the Parameter Reference article for the relevant protocol *FragmentRef element. See the list of links provided in the JADE User Manual - Pre- & Post-Processing section on this page for more information.

Specifying pre- and post-processing operations

...

The XML hierarchy used to specify the pre- and post-processing operations around a typical copy Copy operation using SFTP would be:

  • Profile
    • Operation
      • CopySource
        • CopySourceFragmetRef
          • SFTPFragmentRef
            • SFTPPreProcessing
              • CommandBeforeFile
              • CommandBeforeOperation
            • SFTPPostProcessing
              • CommandBeforeFile
              • CommandBeforeOperation
              • CommandBeforeRename
            • Etcetc. (optional)

Parameter reference for pre- and post-processing operations

...