You can configure EFT Server to run executables, batch files, and scripts automatically when specific events occur. EFT Server calls these Commands. When the Event Rule is triggered, EFT Server executes the specified custom command and attributes.
To execute a Command from EFT Server’s Event Rule system
Create a custom Command using the procedure in Creating a Command.
Create a new Event Rule using the procedure in Creating Event Rules.
(Optional) If you need to apply any conditional behavior, click it in the Conditions list.
In the Actions list, double-click Execute command in folder. The Action is added to the Event in the Rule pane.
In the Rule Builder,
click one of the blue underlined text
links. The Execute Command dialog
box appears.

|
|
Links in the Rule pane indicate parameters that have not yet been defined. They must be defined to save the Rule. |
In the Choose an existing or create a new one list, click the list to select the command. (If you did not create the Command in step 1, click New to create the Command now.)
In Working directory
box, type the path or click
the folder icon
to
specify the folder in which the script or executable resides e.g., C:\EFTscripts; for mapped drives, use
their UNC path.)
(Optional) In the Command
Parameters box, include any parameters for the command. For example,
type the script name (argument 0) if running a script.
You can also select the items in the Context
variables list to add them as parameters. For example, suppose
you want to run a script on a file that was uploaded and triggered the
Event Rule. You would type the script name and the tag %FS.FILE_NAME%,
as shown below:
dosomethingwithfile.vbs -file %FS.FILE_NAME%
|
|
Refer to Variables for details of available variables and how to use them. |
Click OK to save the Command.
Add other Actions as needed, then click Apply to save the Event Rule.