12-43
Creating A Script File
For example, to specify that the Kermit protocol end of line character for outbound
packets is DEL, you would enter the following:
ftu set parameter kermit seol "del"
where parameter is the group ID, kermit is the parameter ID, seol is the sub-
parameter ID, and "del" is the value.
To specify that you are to receive files you would enter the following, where how is
the group ID and receive is the parameter ID:
ftu set how receive
Refer to the section entitled FTU SET & GET Parameters later in this chapter for a
complete list of valid group IDs, parameter IDs and values.
Refer to the Error Numbers section later in this chapter for a list of possible error
numbers for this command.
Remote Operations
The following is an example of how you would get a file from a remote host:
ftu set remote get - this sets the remote option
ftu set how remote - this sets the transfer method
ftu start "my.txt"
This requires that the remote host kermit is running in server mode, which can be
achieved by using the put command as follows:
put "kermit_n_r"
put "server_n_r"
To change the directory on the remote host you will need to include a password
following the name of the directory within the string, separating it from the directory
name by the | (vertical line) character, with no spaces before or after it (unless a space
character is part of the password). For example:
ftu set remote change dir
ftu set how remote
ftu start "\ipc\textfiles|password"
If the | character is not included the command will fail.
Note: Only the remote operation commands listed in the FTU SET
& GET Parameters section of this chapter are valid.