Previous Topic: Sample Script

Next Topic: How to Modify the Post Transfer Script


Example

The example below shows how you change the permissions on a received file by adding the following to the end of the xcompp script:

chmod 777 $tmp_file

This will change the permissions on tmp_file to read, write, and execute.

Note: You must type a $ sign before the variable to reference the variable in the xcompp script.