|
|
|
2003 TextMaestro Technologies
|
Example 7
|
Select New file. A new window will appear, where suppose we enter my_script.txt and hit OK. Then the list will display the new item. One goodie is that this new file will have the same attributes of the selected file.
(3) Click on pull-down menu FTP > FTP Advanced and the following toolbar will appear.
Click on Mark
bat file
(4) Now click on Run
bat file button
Caution: It is extremely important that the script file consists of valid commands. Otherwise, as the REXEC will execute the commands, it might very well foul up the remote host. Be careful when you mark a file as a bat file. Do not mark a spurious file as a bat file.
Suppose the contents of my_script.txt is the following:
At this stage, TextMaestro will execute my_script.txt using REXEC and wait for the output. After the output is sent back to the client, it is displayed on the Input window. Here is the outcome from the execution:
|