The Custom Command Wizard

The Custom Command wizard steps you through the process of creating a Command to tell EFT Server to execute programs, scripts, or batch files.

The procedure below describes how to create a Command using the Custom Command Wizard. You can also create Commands manually and edit existing Commands using the instructions in Creating a Command.

To create a command with the Custom Command wizard

  1. Do one of the following:

  2. The Custom Command Wizard appears.

  3. In the Name box, type a descriptive name for the command. You will reference the Command name in Event Rules, so you should give the Command an intuitive name. For example, instead of Command 1, you might call it Run CScript.

  4. Provide a Description that will help you identify the command.

  5. Click Next. The path page appears.

  6. In the Path to executable box, browse to or type the path to the executable. For example, you can specify a program, a batch file, or a Windows scripting executable (e.g., cscript.exe or wscript.exe).

  7. (Optional) Specify any required parameters. Alternately, you can specify the parameters when you add the Command to an Event Rule. If there are "standard" parameters that you will always use with the script, you can specify them here, then modify them or add additional parameters when you add the Command to an Event Rule.

  8. Click Finish. The Command is added to the Commands node for the Site and appears in the Commands List tab in the right pane.

  9. If the Command is a custom SITE command executed by a connecting FTP client, you can also configure the FTP Custom Command Specific settings, the invalid parameter count message, and which Groups are allowed to execute the Command by clicking Configure. The FTP Custom Command Specific dialog box appears.

  10. Select the Redirect command output to connecting client check box in the extremely rare case in which the command will be launched by a connecting FTP client (if configured to do so). If you select Redirect command output to connecting client, the result is sent to the connecting FTP client in a 220 message response. In the majority of cases, you should leave the check box cleared.

  11. If you want to force the FTP client to send a minimum number of parameters, select the Require a minimum of check box and specify the minimum number of parameters required.

  12. Click Apply to save the changes on EFT Server.

  13.