📄 rfc640.txt
字号:
x5z File system - These replies indicate the status of the Server file system vis-a-vis the requested transfer or other file system action. 11g6 The third digit gives a finer gradation of meaning in each of the function categories, specified by the second digit. The list of replies below will illustrate this. Note that the text associated with each reply is suggestive, rather than mandatory, and may even change according to the command with which it is associated. The reply codes, on the other hand, should strictly follow the specifications in the last section; that is, Server implementations should not invent new codes for situations that are only slightly different from the ones described here, but rather should adapt codes already defined. NWG/RFC# 640 JBP NJN 5-JUN-74 16:07 30843 Neigus FTP Reply Codes [6] If additional codes are found to be necessary, the details should be submitted to the FTP committee, through Jon Postel. 11h A command such as TYPE or ALLO whose successful execution does not offer the user-process any new information will cause a 200 reply to be returned. If the command is not implemented by a particular Server-FTP process because it has no relevance to that computer system, for example ALLO at a TENEX site, a Positive Completion reply is still desired so that the simple User-process knows it can proceed with its course of action. A 202 reply is used in this case with, for example, the reply text: "No storage allocation necessary." If, on the other hand, the command requests a non-site-specific action and is unimplemented, the response is 502. A refinement of that is the 504 reply for a command that IS implemented, but that requests an unimplemented parameter. 11h1 11i 200 Command okay 11i1 500 Syntax error, command unrecognized [This may include errors such as command line too long.] 11i2 501 Syntax error in parameters or arguments 11i3 202 Command not imlemented, superfluous at this site. 11i4 502 Command not implemented 11i5 503 Bad sequence of commands 11i6 504 Command not implemented for that parameter 11i7 11j 110 Restart marker reply. In this case the text is exact and not left to the particular implementation; it must read: MARK yyyy = mmmm where yyyy is User-process data stream marker, and mmmm is Server's equivalent marker. (note the spaces between the markers and "=".) 11j1 211 System status, or system help reply 11j2 212 Directory status 11j3 213 File status 11j4 214 Help message (on how to use the server or the meaning of a particular non-standard command. This reply is useful only to the human user.) 11j5 11k 120 Service ready in nnn minutes 11k1 220 Service ready for new user 11k2 221 Service closing TELNET connection (logged off if appropriate) 11k3 421 Service not available, closing TELNET connection. [This may be a reply to any command if the service knows it must shut down.] 11k4 NWG/RFC# 640 JBP NJN 5-JUN-74 16:07 30843 Neigus FTP Reply Codes [7] 125 Data connection already open; transfer starting 11k5 225 Data connection open; no transfer in progress 11k6 425 Can't open data connection 11k7 226 Closing data connection; requested file action successful (for example, file transfer or file abort.) 11k8 426 Connection trouble, closed; transfer aborted. 11k9 227 Entering [passive, active] mode 11k10 11l 230 User logged on, proceed 11l1 530 Not logged in 11l2 331 User name okay, need password 11l3 332 Need account for login 11l4 532 Need account for storing files 11l5 11m 150 File status okay; about to open data connection. 11m1 250 Requested file action okay, completed. 11m2 350 Requested file action pending further information 11m3 450 Requested file action not taken: file unavailable (e.g. file not found, no access) 11m4 550 Requested action not taken: file unavailable (e.g. file busy) 11m5 451 Requested action aborted: local error in processing 11m6 452 Requested action not taken: insufficient storage space in system 11m7 552 Requested file action aborted: exceeded storage allocation (for current directory or dataset) 11m8 553 Requested action not taken: file name not allowed 11m9 354 Start mail input; end with <CR><LF>.<CR><LF> 11m10 Command-Reply Sequences 12 In this section, the command-reply sequence is presented. Each command is listed with its possible replies; command groups are listed together. Preliminary replies are listed first (with their succeeding replies under them), then positive and negative completion, and finally intermediary replies with the remaining commands from the sequence following. This listing forms the basis for the state diagrams, which will be presented separately. 13 ICP 13a 120 13a1 220 13a1a 220 13a2 421 13a3 NWG/RFC# 640 JBP NJN 5-JUN-74 16:07 30843 Neigus FTP Reply Codes [8] Logon 13b USER 13b1 230 13b1a 530 13b1b 500, 501, 421 13b1c 331, 332 13b1d PASS 13b2 230 13b2a 202 13b2b 530 13b2c 500, 501, 503, 421 13b2d 332 13b2e ACCT 13b3 230 13b3a 202 13b3b 530 13b3c 500, 501, 503, 421 13b3d Logoff 13c QUIT 13c1 221 13c1a 500 13c1b REIN 13c2 120 13c2a 220 13c2a1 220 13c2b 421 13c2c 500, 502 13c2d Transfer parameters 13d SOCK 13d1 200 13d1a 500, 501, 421, 530 13d1b PASV 13d2 227 13d2a 500, 501, 502, 421, 530 13d2b ACTV 13d3 227 13d3a 202 13d3b 500, 501, 421, 530 13d3c BYTE, MODE, TYPE, STRU 13d4 200 13d4a 500, 501, 504, 421, 530 13d4b NWG/RFC# 640 JBP NJN 5-JUN-74 16:07 30843 Neigus FTP Reply Codes [9] File action commands 13e ALLO 13e1 200 13e1a 202 13e1b 500, 501, 504, 421, 530 13e1c REST 13e2 500, 501, 502, 421, 530 13e2a 350 13e2b STOR 13e3 125, 150 13e3a (110) 13e3a1 226, 250 13e3a2 425, 426, 451, 552 13e3a3 532, 450, 452, 553 13e3b 500, 501, 421, 530 13e3c RETR 13e4 125, 150 13e4a (110) 13e4a1 226, 250 13e4a2 425, 426, 451 13e4a3 450, 550 13e4b 500, 501, 421, 530 13e4c LIST, NLST 13e5 125, 150 13e5a 226, 250 13e5a1 425, 426, 451 13e5a2 450 13e5b 500, 501, 502, 421, 530 13e5c APPE 13e6 125, 150 13e6a (110) 13e6a1 226, 250 13e6a2 425, 426, 451, 552 13e6a3 532, 450, 550, 452, 553 13e6b 500, 501, 502, 421, 530 13e6c MLFL 13e7 125, 150 13e7a 226, 250 13e7a1 425, 426, 451, 552 13e7a2 532, 450, 550, 452, 553 13e7b 500, 501, 502, 421, 530 13e7c RNFR 13e8 450, 550 13e8a 500, 501, 502, 421, 530 13e8b 350 13e8c RNTO 13e9 250 13e9a 532, 553 13e9b NWG/RFC# 640 JBP NJN 5-JUN-74 16:07 30843 Neigus FTP Reply Codes [10] 500, 501, 502, 503, 421, 530 13e9c DELE 13e10 250 13e10a 450, 550 13e10b 500, 501, 502, 421, 530 13e10c ABOR 13e11 225, 226 13e11a 500, 501, 502, 421 13e11b MAIL 13e12 354 13e12a 250 13e12a1 451, 552 13e12a2 450, 550, 452, 553 13e12b 500, 501, 502, 421, 530 13e12c Informational commands 13f
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -