The Script tab

The Script tab configures the script to be attached to the direction of file transfer, as well as which file will be sent and received. This tab is displayed differently depending on your communications type. The Production Script File is the script that will be played back when this channel is called from the process management module, and is saved with a .scr extension. The .tpl extension is used for template scripts. A script contains communications commands that are executed each time the communications channel is invoked. For the client mode, you create a script using asynchronous transmission script commands, but there is no script for the host mode, since the host computer simply waits for commands from the client PC.

  1. In the Direction field, specify the direction of the data. Select Send for uploads to another PC. Select Receive for downloads from another PC. Select Both to enable both uploads and downloads.

  2. In the Production Script File field, specify the script to process the data. For convenience, a Browse button is provided so you can locate a previously recorded script file and edit it.

  3. If you checked the Template Script check box on the General tab, the Template Script File field appears. Enter the full path name of the script file that you are copying.

  4. If you checked the Template Script check box on the General tab, the Create Script File field appears. After you have entered information in all three text boxes, click this button to copy the Template Script File to the Production Script File. EC Gateway prompts you for the needed information.