New Commands and Pathnames
- Two new commands are hereby proposed. First is a "HELP" command which should send to the user helpful hints about using the server and its implementation status (news). The information will be sent over the TELNET connection starting with type 100 reply and ending with a type 200 reply (completion). It is suggested that the use of this command and the "MAIL" and "BYE" commands be allowed without the user having to "login" (i.e., supplying valid user, password, and account).
The other command (suggested by Bob Clements) is a new directory listing command called "NLST" which sends only the names of files (as valid pathname strings separated by CRLF) and no other useful but confusing information, so that it is possible to copy a whole directory automatically using this command and the store and retrieve commands. The syntax and format of this command is identical to the "LIST" command (for some HOSTs they may be identical commands).
-
Although the minimum implementation does not require the TYPE, BYTE, MODE, and STRU commands, it is suggested that these commands be accepted with the default values by even those having a minimum implementation. This would avoid some of the "ugly" error responses to input such as "TYPE A" and "STRU F", when these are perfectly acceptable to the server.
-
In using the "MLFL" and "LIST" commands, it is the user's (or user-FTP's) responsibility to ensure that the TYPE is ASCII (8-bit bytes). If the TYPE is other than ASCII, the server may send an error response and refuse the command. The user (or user-FTP) should therefore send the server "TYPE A" command if type is other than ASCII before sending the "MLFL" or "LIST" type commands.
-
A useful suggestion is to allow multiple user names in the "MAIL" and "MLFL" commands. Often a user wishes to send the same mail to a number of users at particular site. It would be very convenient if he can do this by doing a single transfer and command. It is strongly urged that server sites implement this option.
-
Another suggestion that has been made is to standardize pathname syntax in FTP. It appears that subdirectories will soon be introduced in the TENEX system. Perhaps that will have some bearing on the standard pathname syntax. The requirements of any pathname standard scheme are that it should allow convenient use of local pathname conventions, and not conflict with it. A reasonable proposal seems to be to have the standard pathname start with a special character such as ">" (as in Multics), and to use this special character to separate the elements of a pathname. If the special character happens to ba valid part of a pathname element, use the literal quote convention of "'>" (single quote to precede the special character).
Examples of pathnames under this convention would be:
>udd>CNet>Doe>foo_bar (for Multics)
>DSK>JFD>foo bar (for ITS)
>DOE>foo.bar1 (for TENEX)