This online help file is for EFT Server version 6.2.x. For other versions of EFT Server, please refer to http://help.globalscape.com/help/index.html. (If the Index and Contents are hidden, click Show Contents pane in the top left corner of this topic.) |
Regardless of placement, ALL Conditions are evaluated, because all Conditions exist at the root level.
For example:
ON FILE UPLOAD { if (%FS.FILE_NAME% = "*.pgp") //if filename extension is PGP then decrypt it { PGP Decrypt %FS.FILE_PATH% } if (%FS.FILE_NAME% = "*.zip") //even if the prior condition was true, still evaluate this condition. { UNZIP %FS.FILE_PATH% to "%FS.FILE_PATH%\%EVENT.DATE%_%EVENT.TIME%\" } } |
Adding a Condition to an Event Rule
The Compound Conditional Statement