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
- 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.
- In the Name box, type AdHocRunCommand., then click Next.
- 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
To create the "SAT - Capture Uploads for Subsequent Notify" Event Rule
- 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.
- In the Event Rule name box, type
SAT - Capture Uploads for Subsequent Notify
. - In the Select event trigger box, click File Uploaded, then click Create. The new Event Rule appears in the Rule Builder.
- In the Actions pane, click Execute command in folder. The Execute Command dialog box appears.
- In the Choose an existing or create a new Command box, select the Command you just created, AdHocRunCommand.
- In the Working directory box, type or paste:
C:\Program Files (x86)\GlobalSCAPE\EFT Server Enterprise\SATScripts
. - In the Parameters box, type or paste:
SendUploadNotification.wsf //JOB:ON_UPLOAD %USER.HOME_FOLDER% %FS.VIRTUAL_PATH%
- Click OK to save the Command Action in the Rule.
- 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.
- Open the Task Scheduler (Taskschd.msc), then click Create Task. The Create Task dialog box appears.
- On the General tab, in the Name box, type or paste:
SAT - Notify Sender of Upload(s) Received
- In the Security options area, specify the account the task should run as, and then click Run whether user is logged on or not.
- Click the Triggers tab, click New, and then configure the Trigger as shown below (Daily, every 5 minutes, Indefinitely):
- Click the Actions tab, click New, then specify the Actions as shown below.
- 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
SendUploadNotification.wsf //JOB:ON_TIMER
C:\Program Files (x86)\GlobalSCAPE\EFT Server\SATScripts