Search

GlobalSCAPE Knowledge Base

Creating a SAT Notification Event Rule in EFT Standard

Karla Marsh
EFT Express (SMB) & Enterprise

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT Standard v6 and later, with SAT module

DISCUSSION

When you install the Secure Ad Hoc Transfer (SAT) module on EFT Enterprise, a Custom Command and some Event Rules are automatically created, as described in SAT Event Rules in the EFT documentation. When SAT is installed on EFT Standard, because the Standard edition does not include the Scheduler (Timer) Event trigger, the Event Rules are not created automatically. This article describes how to create the Custom Command and an "Upload Notification" Event Rule manually, without the Scheduler (Timer) Event trigger. The instructions below describe how to create the Custom Command (AdHocRunCommand), the File Uploaded Event Rule (SAT - Capture Uploads for Subsequent Notify), and the Windows Task.

Copy the config file from SAT into the SATScripts folder

  • Copy the settings.config for the working Adhoc Site (C:\InetPub\EFTAdhoc\config) into the EFT Server SAT scripts location (C:\Program Files (x86)\GlobalSCAPE\EFT Server\SATScripts).
  • The email logo and notification templates are installed in C:\Program Files (x86)\GlobalSCAPE\EFT Server\SATScripts when you install SAT.

To create the AdHocRunCommand

  1. Create the AdHocRunCommand Custom Command that you will use in the Event Rules. Click the Commands node in the left pane, then, in the right pane, click New. The Custom Command Wizard appears.
  2. In the Name box, type AdHocRunCommand., then click Next.
  3. In the Exe path box, paste the path for the cscript.exe executable. Depending on OS being used, type or paste the location of cscript.exe:
    • On a 64-bit OS: C:\Windows\SysWOW64\cscript.exe
    • On a 32-bit OS: C:\Windows\System32\cscript.exe

  4. Click Next. Leave the Parameters field blank and then click Finish.

To create the "SAT - Capture Uploads for Subsequent Notify" Event Rule

  1. Create a new Event Rule using the “On File Upload” Event Rule Trigger. Click the Event Rules node, then in the right pane, click New. The Create New Event Rule dialog box appears.
  2. In the Event Rule name box, type SAT - Capture Uploads for Subsequent Notify.
  3. In the Select event trigger box, click File Uploaded, then click Create. The new Event Rule appears in the Rule Builder.
  4. In the Actions pane, click Execute command in folder. The Execute Command dialog box appears.
  5. In the Choose an existing or create a new Command box, select the Command you just created, AdHocRunCommand.
  6. In the Working directory box, type or paste:
    C:\Program Files (x86)\GlobalSCAPE\EFT Server Enterprise\SATScripts.
  7. In the Parameters box, type or paste:
    SendUploadNotification.wsf //JOB:ON_UPLOAD  %USER.HOME_FOLDER% %FS.VIRTUAL_PATH%
  8. Click OK to save the Command Action in the Rule.
  9. Click Apply to save the Rule.

To create a recurring notification Task

Since Timer-based triggers do not exist in EFT Standard, you must create a Task in Windows Task Scheduler.

  1. Open the Task Scheduler (Taskschd.msc), then click Create Task. The Create Task dialog box appears.
  2. On the General tab, in the Name box, type or paste:
    SAT - Notify Sender of Upload(s) Received
  3. In the Security options area, specify the account the task should run as, and then click Run whether user is logged on or not.
  4. Click the Triggers tab, click New, and then configure the Trigger as shown below (Daily, every 5 minutes, Indefinitely):
  5. Click the Actions tab, click New, then specify the Actions as shown below.
  6. Depending on OS, in the Program/script box, browse to the folder that contains cscript.exe:
    • On a 64-bit OS: C:\Windows\SysWOW64\cscript.exe
    • On a 32-bit OS: C:\Windows\System32\cscript.exe

  7. In the Add arguments box, type or paste the following:
  8. SendUploadNotification.wsf //JOB:ON_TIMER

  9. In the Start in box, type or paste:
  10. C:\Program Files (x86)\GlobalSCAPE\EFT Server\SATScripts

  11. Click OK to close the New Action dialog box, then click OK on the Create Task dialog box to complete the task creation.
Details
Last Modified: 6 Years Ago
Last Modified By: GlobalSCAPE 5
Type: HOWTO
Rated 1 star based on 5 votes.
Article has been viewed 3.4K times.
Options
Also In This Category