Products | Versions |
---|---|
TIBCO Managed File Transfer Agent | - |
Not Applicable | - |
Resolution:
Description
============
The outbox functionality of the MFT Agent allows the option of deleting a file once it has been transferred by the MFT Agent to a destination system. Users would like the same functionality when transferring a file via the Command Line Interface.
Environment
===============
All
Resolution
=================
Users can use the from.postJob processing to delete of the source file once it is transmitted.
Upon execution of the post job script, the MFT Agent will populate the following 3 environment variables accessible from the script:
• FILE_NAME
• FILE_SIZE
• FILE_TRANSFER_STATUS
By creating a post processing script that does a ‘rm $FILE_NAME’, you can delete the source file. The description of these variables are documented in the Command Reference guide.
Keywords/Tags:
= = = = = = = = =