Enterprise Server Configuration and Transfer Reference / Pre- and Post-Processing (Prepost) |
Your Aspera server can execute a shell script from a pre-defined location:
The script is executed as a result of four transfer events:
The aspera-prepost script can also execute additional shell scripts, Perl scripts, native executables, and Java programs. Aspera sets several environment variables for aspera-prepost that you can use in your own custom scripts. These environment variables are described in detail in Pre/Post Variables. Depending on usage, pre- and post-processing may consume a large amount of system resources. Be sure to evaluate your system performance and apply this feature appropriately.
Follow the steps below to set up pre/post processing for your Aspera transfer product: