Additional Faspex Configuration Options |
Add post-processing scripts to run on package receipt.
Aspera®Faspex™ administrators have the ability to execute post-processing scripts on the server to accomplish tasks such as virus checking, moving files, and creating backups once packages arrive. Post-processing uses a set of filtering options to determine when to execute customized scripts. Aspera Faspex can execute shell scripts and Windows batch scripts, where information about the package is passed to the script by means of environment variables.
Post-processing scripts that have been activated execute automatically after the initial transfer to a default inbox. The relay of a package to a custom inbox does not trigger script execution.
In the event that a Aspera Faspex Administrative account is compromised, post-processing can be a serious threat to your server's security. Thus, Aspera strongly recommends that you update your administrative users' permissions in order to prevent unauthorized users from executing post-processing on your Aspera Faspex server. To secure your Aspera Faspex server, follow the instructions described in Configure a Secure Aspera Faspex. Note that by default, post-processing is enabled. To disable it for security reasons, please see the instructions at the end of this topic.
To prepare a post-processing script, follow the steps directly below.
For security reasons, you may optionally disable post-processing in faspex.yml. The DisablePostProcessing setting can be found in the faspex.yml file, accessible via the following path:
/opt/aspera/faspex/config/faspex.yml
Aspera strongly recommends backing up faspex.yml before modifying.
Within faspex.yml, change "DisablePostProcessing:false" to "DisablePostProcessing:true"
... DisablePostProcessing:true ...