📄 rfc412.txt
字号:
User FTP Documentation Detailed Command ListingRESET Takes no arguments. Causes the user process to close all connections (if necessary), all files (if necessary), and reset the programs parameters to their defaults.DDT If DDT is loaded, just starts DDT. If DDT is not loaded, it will load DDT and then start it at its initial start-up location. This command will casue an abnormal interrupt if DDT is not found.LIST (file group) <remote file group> (to file) <local file> Esentially causes the remote server to do a directory command. The default is *.* and since the listing will come on the data connection, the user must specify a local file. A sample line might look like the following: !list (file group) *.* (going to file) tty: [ok]SOCKET <socket descriptor> Will accept a socket descriptor for the data to go to or come from. At present it is NOT IMPLEMENTED because we have not decided on the format of the command to the server.ALLOCATE <decimal number of bytes> Accepts as its argument a decimal number of bytes (of the specified size) telling the server how many bytes of storage to reserve for the next store of append.QUIT Takes no arguments. Returns the console to the EXEC. The program may be continued with no harm done. This command allows the user to send arbitrary strings to the remote server. At present, when talking to a TENEX site, it is only useful for doing the 'MAIL' command. Other sites may have help commands of whatever.HOST <ARPANET host name of number> Allows the user to specify an ARPANET host without actually connecting to the host. This specified host will be the ont that is connected to (or the attempt will be made anyway) when the next 'immediate' command is executed. EG: LOGIN, RETREIVE, STORE, LIST, etc.USER (name is) <remote user's name> Sets the user name for the remote system. Useful for systems that require no password for the specified name. Does nothing until an user must be 'logged into' the remote system. The programm knows this and so will not let the user execute any commands (RETREIVE, STORE, APPEND, LIST, STATUS, RENAME, DELETE) until he has at least specified a remote user name. The LOGIN command does this as does this command. [Page 6]User FTP Documentation Detailed Command ListingSTATUS (of the) <sub-cmd> (at host) <ARPANET host> Accepts as its argument one of the following sub-commands: SERVICE (at host) <ARPANET host name or number>: Attempts to perform the ICP to the specified host. Does not disturb any existing connections. <ARPANET host name or number>: See description of STATUS SERVICE above. STATUS (of file) <remote file group>: Similar to the LIST command described above except that the listing does not gone back on the data connection but on the TELNET connection. See LIST command for more details. <COMMAND-TERMINATOR>: Just sneds the STAT command. Typically, is good for finding out where your are and perhaps who you are.PASSWORD (is) <passowrd for remote user's name> Sets the password for the remote user's name. It is NOT echoed and does nothing until the next 'immediate' command is executed.ACCOUNT (is) <account number or string> Accepts a string of number that can be charged for any activity the user specifies. EG: STORE, RETREIVE or APPEND. Useful only for systems that require this information of course. Also does nothing until the next immediate command is executed.LOGIN <user name> <password> <optional account> the format of this command is identical to the TENEX login command. It accepts a user name, password, and an optional account number. If no host has been specified, it will ask for the host to be connected to. This command will cause the ICP to take place if necessary.BYTE (size is) <decimal byte size> This command sets the byte size for the data connection. The default byte size is 8 bytes.Type (is) <type descriptor> Takes as its argument one of the following subcommands: TENEX: Shorthand that sets TYPE IMAGE and BYTE 36. EBCDIC: Says that the data will be Ebcdic. PRINT: Says that the data is an Ascii print file with ASA vertical format controls. LOCAL: Forces the user and server FTP to accept whatever byte size the user has specified. For the present, this type is treated the same as for IMAGE TYPE. IMAGE: Does the same as LOCAL. Just forces the user and server FTP to accept the specified byte size without doing any translation as is done for ASCII type. For most efficient usage of this command, the [Page 7]User FTP Documentation Detailed Command Listing matching byte size should be BYTE 36 when using TENEX sites as servers. ASCII: Sets TYPE ASCII and 8 bit bytes. Useful for text files. NOTE: Of the above sub-commands, only PRINT and EBCDIC are not implemented yet.STRUCTURE (is) <file structure descriptor> Accepts as its argument one of the following sub-commands: REDORD: Says the data on the data connection has record structure information contained in it. NOTE: Since TENEX NOT support record structured files per se, this mode only useful for sending text files to or retreiving text files from non-TENEX sites. The <EOL> in these files is converted to the TELNET EOR code for transmission and EOR to <EOL> etc. for reception. File: Says the data stream has no record structure information in it.TENEX See description under TYPE TENEX.ASCII See description under TYPE ASCII.VERBOSE This command sets the command completion/no completion flag. The program assumes the NO VERBOSE mode and thus does not complete commands when <space> or <eol> is used as a command terminator It also causes the noise words to be typed if in the verbose mode. [Page 8]User FTP Documentation Detailed Command ListingV. Sample Session using the FTP The following scenario shows some uses of the FTP. Everything that the user types is underlined. UTAH-TENEX 1.29.03 EXEC 1.38 LOGIN (USER) HICKS (PASSOWRD) (ACCOUNT #) 1200 JOB 24 ON TTY2 11-NOV-72 1:51 TERMINAL (TYPE IS) 4 ftp FTP User Process 1.10 5-NOV-72. Type Help<cr> for help. !login (user) network (password) (account) 4 (to host) case-10 CONNECTION IS OPEN TO CASE-10. < CASE-10 FTP Server 1.14.0 - at SAT 11-NOV-72 2:00-EST !tenex ? confirm with carriage return tenex !copy remote (remote group) ftp.* Please be patient. Getting remote file-names. Got them. !copy (file) <NETWORK>FTP.MAC:32 (no file) ftp.mac [new file] < IMAGE retreive of <NETWORK>FTP.MAC;32 startet. < Transfer completed. !copy (file) <NETWORK>FTP.SAV;5 (fo file) FTP.SAV;5 [new version] < IMAGE retreive of <NETWORK>FTP.SAV;5 started. < Transfer completed. !copy (file) <NETWORK>FTP.REL;1 (to file) xxx !copy (file) <NETWORK>FTP.HELP;5 (to file) ftp.help [New version] copy (file) <NETWORK>FTP.HELP;5 (to file) FTP.HELP;1 < IMAGE retreive of <NETWORK>FTP.HELP;5 started. < Transfer completed. Done... !usc-isi Closing connections to CASE-10. CONNECTION IS OPEN TO USC-ISI. < USC-ISI FTP Server 1.14.0 - at SAT 11-NOV-72 2:15-PST !log user hicks (password) (account) ? account number or string for remote user's name log (user) hicks (password) (account) | !send (local file) ftp.sav;5 (to remote file) ftp.sav < STORE of <HICKS>FTP.SAV;P777752;a|, IMAGE type, started. < Transfer completed. !cp r acs.mac (to local file) acs.mac [new file] < IMAGE Retreive of <HICKS>ACS.MAC;3 started. [Page 9]User FTP Documentation Detailed Command Listing < Transfer completed. !copy 1 ? Local file group, *'s ok - TENEX sites only, copy 1 ftp.* [Confirm] < Store of <HICKS>FTP.MAC;1;P777752;A1, IMAGE type, Started. < Transfer completed. < Store of <HICKS>FTP.SAV;2;P777753;A1, IMAGE type, Started. < Transfer completed. < copy of <HICKS>FTP.HELP;1;P777752;A1 IMAGE type, Started, < Transfer completed. !bye !< BYE command recieved. < Therefore connection terminated. logout [logout message go here] [ This RFC was put into machine readable form for entry ] [ into the online RFC archives by Gottfried Janik 6/97 ] [Page 10]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -