[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.5.2.4 The E Command

master: `E from to user -options temp mode notify size command'
The `E' command is only supported by Taylor UUCP 1.04 and up. It is used to make an execution request without requiring a separate `X.*' file. See section 6.4 Execution File Format. It is only used when the command to be executed requires a single input file which is passed to it as standard input.

All the fields have the same meaning as they do for an `S' command, except for options and command.

options
A list of options to control the transfer. The following options are defined (all options are single characters):
`C'
The file has been copied to the spool directory (the master should use temp rather than from).
`c'
The file has not been copied to the spool directory (this is the default).
`N'
No mail message should be sent, even if the command fails. This is the equivalent of the `N' command in an `X.*' file.
`Z'
A mail message should be sent if the command fails (this is generally the default in any case). This is the equivalent of the `Z' command in an `X.*' file.
`R'
Mail messages about the execution should be sent to the address in the notify field. This is the equivalent of the `R' command in an `X.*' file.
`e'
The execution should be done with `/bin/sh'. This is the equivalent of the `e' command in an `X.*' file.

command
The command which should be executed. This is the equivalent of the `C' command in an `X.*' file.

The slave then responds with an `E' command response. These are the same as the `S' command responses, but the initial character is `E' rather than `S'.

If the slave responds with `EY', the file transfer begins. When the file transfer is complete, the slave sends a `C' command response, just as for the `S' command. After a successful file transfer, the slave is responsible for arranging for the command to be executed. The transferred file is passed as standard input, as though it were named in the `I' and `F' commands of an `X.*' file.

After the `C' command response has been received (in the `EY' case) or immediately (in an `EN' case) the master will send another command.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Web user for server www.cirr.com on September, 3 2001 using texi2html