Skip to main content

New FTP Op-Codes

Imagine that some site, which we will call the "user site" or "user", has initiated a connection from its own file transfer process to a file transfer process at some other site, which we will call the "server site" or "server". After the appropriate exchanges of information, a file transfer (using the File Transfer Protocol) begins over the path between these two sites. After some information is transferred, the path between the user and server is broken. At some later time the user initiates a new connection between the file transfer processes at user and server, establishes relevant access privileges, and wishes to resume the transmission which was in progress when the path was broken. First we describe four new op-codes for the File Transfer Protocol:

  • 10 - Append at sequence number. This command is essentially the same as any of the "Store" or "Append..." commands except that a 16-bit sequence number immediately follows the op-code (before the pathname).
  • 11 - Retrieve at sequence number. This is the same as the "Retrieve" command except that a 16-bit sequence number immediately follows the op-code (before the pathname).
  • 12 - Resume Retrieve. To be used when the user wishes the server to choose the sequence number; in other respects this is identical to the "Retrieve" command.
  • 13 - Use the sequence number. This command contains only the op-code and a 16-bit sequence number. It is intended as a denial of the ability to locate the sequence number given in an "Append at sequence number" or "Retrieve at sequence number" command and, simultaneously, to suggest another number which can be located.

Op-codes are given in hexadecimal.