Skip to main content

RJE with TELNET and Data Transfer

The previous model provided a minimal implementation for NETRJE. This model provides better data transfer facilities without requiring an FTP implementation. This model requires no new commands, but does manipulate connections differently, so that data is not required to flow on the command connection (see Fig. 2). Data is sent on separate default connections (unless otherwise specified) as in the CCN NETRJS protocol. However, for this protocol the defaults used will be the same offsets from the control connection as those in FTP.

The use of this model is indicated to the Server by either the INDEF command or a SCHED command with no arguments. The INDEF command allows the user to specify a socket other than the default socket as the source of the input. On receipt of the SCHED or INDEF indicating this technique is to be used, the Server will attempt to connect to the appropriate socket. If a SCHED command was sent, the user protocol interpreter could start sending cards as soon as the data connection is established. (It is assumed that the user interface has indicated to the RJE protocol interpreter where the cards are to come from.) If the command was INDEF, then the Server will not start reading until the SCHED is received. Similarly, when the output is ready, either an OUTDEF or OUTPUT command is sent to set up and start the printing. The INDEF and OUTDEF commands used with this mode will also allow moving data to or from a TIP or printer.

This model requires definiton of actual data transfer formats for the reader and printer lines. We propose that the formats and connection schemes of the present FTP be adopted. This solution has the advantage of not requiring extra coding efforts for users with FTP implementations and may allow them to organize their FTP implementations and may allow them to organize their FTP and NETRJE implementations in such a way as to take advantage of common algorithms. One might easily confuse this solution with a revival of the Data Transfer Protocol. Some thought on a more rigorous definition of a Data Transfer Protocol for the common use of FTP and RJE might be worthwhile in the future.

Let us consider a scenario.

The user wishes to submit a card deck to the Server. He then types

SCHED<CRLF>

The Server opens a connection to the user's default card reader socket while sending a reply to the user on the control connection.

XXX attempting connection to card reader.

When the connection is opened, another reply:

XXX transfer started

and when completed:

XXX JOB XA 1423 was successfully submitted.

When the job completes and the completion message is sent to the user, he may wish to send the output to his TIP printer on socket Y. He will then type

OUTDEF XA1423 255, Y (255 being his host address).

The Server will then attempt to connect to the socket and will reply

XXX printer connection successful.

When the user has satisfied himself all is in readiness, he will type

OUTPUT XA1423

and the Server will start sending and reply to the user

XXX print started.

When the transfer is complete the Server will close the data connection and send an appropriate reply.