Skip to main content

NETRJE Using FTP

This model (illustrated in Fig. 3) uses FTP to effect the transfer of the files. It may be easier for some systems to use this sort of model for more sophisticated RJE systems. This is especially true if the users desire to take input from the local file system or to send output to the local file system rather than from an actual card reader or to an actual line printer. Although using the local file system is not prohibited by the Data Transfer model, it may be easier to approach through FTP. Using FTP with NETRJE also allows the utilization of the FTP server-server transfer mechanism to generate input from or direct output to a third host.

The only new facility required by this model are the commands INPATH and OUTPATH. When using FTP to transfer input to the Server, the user must know where to send the job so that it enters the job stream. The INPATH command returns as a reply such a legal pathname. Thus the scenario for job submission is as follows: The user sends an INPATH command; the Server responds with a legal Server pathname for the user. The user process starts sending the input to the file using FTP. When transfer is complete, the user sends a SCHED <server pathname> command. When the job has finished, the pathname created for the user may or may not destroy the input file. The OUTPATH command is similarily used to identify the pathname for the output, so that it may be retrieved by FTP. Some systems may define file names in such a way that the user may derive them from the parameters of his job.

Note on Replies​

In all of the above examples we have refrained from defining actual reply codes. The intent is to use the same reply structure, and where appropriate the same numbers, as described in RFC 640 "Revised FTP Reply Codes".