Home Button Print Button Support Button <---ShowHide
  • Contents
  • Index
  • Glossary
 

SAT Event Rules

When you install version 3 of the Secure Ad Hoc Transfer (SAT) module, some "default" Event Rules are created by the installer.

  • If you are using a 64-bit system, the Event Rules and Command need to be updated to reflect the 64-bit paths. (Refer to the EFT documentation for details of Event Rules and Commands.)

  • If EFT and IIS are NOT running on the same computer:

    • Copy the setting.config file from C:\inetpub\wwwroot\EFTAdhoc\config\ to C:\Program Files (x86)\Globalscape\EFT Server Enterprise\SATScripts\.

    • Copy the templates from C:\inetpub\wwwroot\EFTAdhoc\Templates\ to C:\Program Files (x86)\Globalscape\EFT Server Enterprise\SATScripts\.

See below for a description of the AdHocRunCommand Custom Command.

  • SAT - Capture Uploads for Subsequent Notify—If the Settings Template is "EFTAdhoc" and if the remote IP address does not match *.*.*.* (All Incoming), execute the AdHocRunCommand custom Command in C:\Program Files\Globalscape\EFT Server Enterprise\SATScripts to runs the SendUploadNotification.wsf script.

The Rule above works best with the Plain-Text Client. If end users are uploading with the Web Transfer Client, add a second Rule using the "Verified Upload Succeeded" Event and add the Condition "If Using Web Transfer client does equal to Yes." Also add the "If Using Web Transfer client does equal to No" Condition to the Rule above.

 

  • SAT - Delete Expired Users—Every day, execute the AdHocRunCommand custom Command in C:\Program Files\Globalscape\EFT Server Enterprise\SATScripts to run the EFTDeleteExpiredUsers.wsf script.

  • SAT - Notify Sender of Upload(s) Received—Each minute, execute the AdHocRunCommand custom Command in C:\Program Files\Globalscape\EFT Server Enterprise\SATScripts to run the SendUploadNotification.wsf script.

These Event Rules automatically perform tasks that you had to configure manually in previous versions of SAT. The SAT Event Rules are enabled by default. You can edit the rules and disable them as needed. Refer to the "Event Rules" section of the EFT help for details of managing Event Rules.

AdHocRunCommand Custom Command

The AdHocRunCommand Custom Command is created in EFT the when the SAT module is installed. AdHocRunCommand executes C:\windows\system32\cscript.exe (or C:\windows\syswow64\cscript.exe on 64-bit systems) and includes some custom Command parameters for executing the SAT scripts in the default SAT Event Rules.

  • In the SAT -  Notify Sender of Upload(s) Received Event Rule, AdHocRunCommand includes SendUploadNotification.wsf //JOB:ON_TIMER in the Command parameters box.

  • In the SAT - Delete Expired Users Event Rule, AdHocRunCommand includes EFTDeleteExpiredUsers.wsf //JOB:DELETE_USERS in the Command parameters box.

If you edit the custom Command, you might introduce errors, causing the script to not execute as designed. Instead, you should create a separate command, if necessary, and then you can add it as a subsequent Action to the Rule.