Using FUSUTIL in Post Processing Actions (PPA)

You can use the FUSUTIL utility in the platform server PPA functions to perform commands immediately after a successful or unsuccessful file transfer in a single request.

You can perform the following operations by using the FUSUTIL utility in the PPA functions:

  • Use the RENAME function to archive a file after it is successfully sent.
  • Use the DELETE function to delete a file after it is successfully sent.
Note: You can use the PPA substitutable parameters to simplify the functions.

Example

If you are initiating a file transfer SEND request on Windows, you can request the following PPAs to be performed after the file transfer is completed:

PPA="S,L,COMMAND,FUSUTIL R %LFILE %LFILE.D%GDATE.T%TIME"

This command renames the local file defined by the %LFILE substitutable parameter. It suffixes the date and time to the file name, effectively archiving the file.