FTP信息代码解析:

四仔 发布于2004-10-10 21:20 734 次浏览 1 位用户参与讨论   [复制分享主题]

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区

您需要 登录 才可以下载或查看,没有账号?註冊

x
<P><FONT color=#f70909>FTP信息代码解析:</FONT></P>
# d, H( E9 z" j<P>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 server's equivalent marker (note the spaces between markers and "=". 8 a8 ]" l. F5 v! g" q3 i- R4 Q4 c" K
重新启动标志回应。这种情况下,信息是精确的并且不用特别的处理;可以这样看:标记 yyyy = mmm 中 yyyy是 用户进程数据流标记,mmmm是服务器端相应的标记(注意在标记和等号间的空格)
  f. U" |; ~) E# T0 B: Y6 j- q----------------------------------- 5 Y2 `' s( j: K7 @, t
120 Service ready in nnn minutes. & g# I) i7 P1 ?9 H, A
服务在NNN时间内可用
0 [5 g- e! T$ F6 g( S" L-----------------------------------
# }" v! d. K. L  c125 Data connection already open; transfer starting. 1 A+ }" C$ w* a( j1 o
数据连接已经打开,开始传送数据. 7 M4 e4 q1 Y7 o; O9 R6 r
-----------------------------------
! b5 Y7 F" I8 W' u! r150 File status okay; about to open data connection.
% j9 ~7 D( k( \: ]1 j( {0 x文件状态正确,正在打开数据连接.
8 o7 k8 \5 s; [* P: w+ g( O-----------------------------------
' j/ `7 q. J* I0 W, _9 y1 v200 Command okay.
+ S0 X/ l/ |8 j% O$ H4 P; x命令执行正常结束.
0 m* H7 x, W! Z1 ~4 M: \) X4 d: r-----------------------------------
# D) E' `+ ]3 d$ O202 Command not implemented, superfluous at this site. $ e" ^9 \) [2 y2 v' A( \1 h
命令未被执行,此站点不支持此命令. 8 y; v* Q! ~: P/ ]2 v/ m" I5 }
----------------------------------- " a( |1 z8 z5 o/ N" \0 t1 g
211 System status, or system help reply. 3 L" e0 B0 z" g: Q' s8 A& W+ |
系统状态或系统帮助信息回应.
( _  _% `# H6 E1 k5 e3 M: O' T# }----------------------------------- 5 G# Z5 h( A8 q% u4 N, [9 C
212 Directory status. 0 S# i0 [% G- q4 j
目录状态信息. : Z5 H2 T3 c+ b5 c* P: g
----------------------------------- & O0 S, ~% S, a' J3 Y) {) d
213 File status.   b# I9 D, ~0 R8 r: H; G# U
文件状态信息.
& M9 I7 @' `, |----------------------------------- 6 t# I- V+ f7 {* Q
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. 帮助信息。关于如何使用本服务器或特殊的非标准命令。此回复只对人有用。
9 O$ A  L- w# ?+ p9 S% h-----------------------------------
, j( l- v- D9 M: d& l. F' X4 b6 L215 NAME system type. Where NAME is an official system name from the list in the Assigned Numbers document. # I4 K. ~7 V- t. _  i/ _+ v$ E
NAME系统类型。 3 ~5 f5 K: \9 q
----------------------------------- ; y. K6 O/ A6 Q* b
220 Service ready for new user. 9 x# D: r9 E2 L3 F/ C/ t) Z' H
新连接的用户的服务已就绪
% X4 X  |) ~6 s! [1 i----------------------------------- 2 ^: g; k" w4 i; G* v
221 Service closing control connection. " G( f  j( A5 X0 Y
控制连接关闭
2 o* n/ x! l# G/ D* e( X( U----------------------------------- 7 @- C. P0 ~3 H- ?- M
225 Data connection open; no transfer in progress. 5 ~' @# x3 x5 i7 E' a
数据连接已打开,没有进行中的数据传送
, E9 F' }7 ^5 X2 E-----------------------------------
$ y/ W  C* C6 K3 L8 X) ?226 Closing data connection. Requested file action successful (for example, file transfer or file abort).
( Z0 b) Y- m% ^% x8 z) M# W正在关闭数据连接。请求文件动作成功结束(例如,文件传送或终止) 5 W& L) ~' J) L! Q# S, S$ l+ O
----------------------------------- + Q: N8 E- _2 Y  E4 V! G$ ]  J7 x
227 Entering Passive Mode (h1,h2,h3,h4,p1,p2). ; g8 y$ G/ z0 `6 e, z+ ?% U$ Y$ W
进入被动模式 ( }/ N& v7 G- C) z/ D
-----------------------------------
  Z- n, T! [7 p) i+ L' Y4 O230 User logged in, proceed. Logged out if appropriate.
* V; }5 F4 c; t8 S- w0 _5 g+ F: ~用户已登入。 如果不需要可以登出。
  r/ V$ X$ l" b) K-----------------------------------
$ k& u' Q- f3 s8 \- p. A250 Requested file action okay, completed.
# x7 l3 N' P; B, G被请求文件操作成功完成 ) \8 p& N8 R/ A3 g
-----------------------------------
. T  ?- h+ H; h3 o& p) C, R( x0 i257 "PATHNAME" created. : @: `! ~+ C  x- x' J4 r6 e
路径已建立 ' ?2 A$ \/ S4 m, D
----------------------------------- 1 O& ^( T: K( I+ j7 s
331 User name okay, need password. - e( U0 h  i; J% E* T5 P# Z
用户名存在,需要输入密码 5 T. U. m7 N0 _
----------------------------------- 6 `# r0 \! G( K
332 Need account for login.
7 ]9 O$ U2 q' z4 B  w需要登陆的账户
* E4 R$ g0 H' o- z0 s-----------------------------------
3 `2 r# |$ d. x6 l7 S3 ?350 Requested file action pending further information # i& Q7 A8 w: U
对被请求文件的操作需要进一步更多的信息
5 [' f6 |$ o: E! I4 u- a) T-----------------------------------
) T# u( n+ a4 ~' ]: A/ t" ]421 Service not available, closing control connection.This may be a reply to any command if the service knows it must shut down.
* ]0 ]. p; p4 j服务不可用,控制连接关闭。这可能是对任何命令的回应,如果服务认为它必须关闭
9 \' E; i1 y* X! f' V( _-----------------------------------
- O6 X, T* m  W: P: y0 y425 Can't open data connection.
, X* k, ~" h& J打开数据连接失败 : v) C: I- M' ]( l) i" G
-----------------------------------
  B( A. ?; y' _9 k: f426 Connection closed; transfer aborted.
. h! e2 f: H* j3 X+ V+ F3 n连接关闭,传送中止。 - d; Z( s* {) y9 w! ]. M
----------------------------------- 1 B: s* o; A/ h9 P
450 Requested file action not taken.
4 e% E8 V9 i5 l" |; G对被请求文件的操作未被执行 - l3 T- |$ n* C
----------------------------------- 4 D. U  C2 Z9 ^1 n
451 Requested action aborted. Local error in processing. 4 T" Q# L$ b% Z3 P
请求的操作中止。处理中发生本地错误。 7 g! i% ^# _. h8 `+ g, L
----------------------------------- 4 U2 G. e( V! \; [2 u7 s; ^. B6 y
452 Requested action not taken. Insufficient storage space in system.File unavailable (e.g., file busy). : u' s7 \* Z+ M6 i, Q
请求的操作没有被执行。 系统存储空间不足。 文件不可用
" C3 @: `0 a8 @( {# v-----------------------------------
9 ^% G2 ^6 y3 B0 G' U500 Syntax error, command unrecognized. This may include errors such as command line too long. 7 R7 X3 s. h; C7 b# @, y( Y
语法错误,不可识别的命令。 这可能是命令行过长。
1 Y7 K, ]$ K3 [" F7 L-----------------------------------
( Q$ o( q+ W" q2 c9 i' K" N: |: s501 Syntax error in parameters or arguments. $ i6 G! ?+ d2 `# T( K- t% @9 M
参数错误导致的语法错误
, b$ D; ~  i2 [----------------------------------- % M& t( f  w% O/ C3 H1 Y
502 Command not implemented. + P0 p& b: `( F) |  l( [( ~7 l
命令未被执行 % I: R7 Y: @( i! B& C3 }
-----------------------------------
# F5 k/ Q; V7 Z( b) H8 J* j503 Bad sequence of commands.
- s8 k% U3 t0 N7 t3 o8 |命令的次序错误。
. o/ D; `7 U9 ?# m/ k- q-----------------------------------
- y9 |0 K, n$ B& |! x- T9 ~504 Command not implemented for that parameter.
2 T7 `$ P2 ~. p8 k由于参数错误,命令未被执行
6 i3 }7 j  V' |+ I  b" U----------------------------------- , B( m% t4 O6 ]. R9 o3 s3 r
530 Not logged in. $ [- ?, B+ N0 B
没有登录
6 F# v# ]0 v) ~- s2 Q# s+ P----------------------------------- ! U" g' P4 Y- u8 u1 b3 `1 r" L
532 Need account for storing files. - x2 r7 Q% a  D0 L) I  s
存储文件需要账户信息
; J+ ]% v# G' y----------------------------------- / r# h  {: @: c$ N1 X
550 Requested action not taken. File unavailable (e.g., file not found, no access).   ~- m6 g- _3 e7 G
请求操作未被执行,文件不可用。 # T$ [+ n4 c1 Q0 K$ X2 U% ?; I
-----------------------------------
' T" A' Y) }. z$ z, n0 X+ ]/ M* m551 Requested action aborted. Page type unknown. % Y/ l8 z  v$ H
请求操作中止,页面类型未知 $ u1 a* P4 n1 Q7 j; Z6 Q$ M
-----------------------------------
+ j2 x- l! p3 D) l1 [$ a552 Requested file action aborted. Exceeded storage allocation (for current directory or dataset). 6 ]2 P- c5 c9 ?  Q+ f+ ^
对请求文件的操作中止。 超出存储分配
2 r% N9 g1 K! j! t" o( H! q1 n* v, C-----------------------------------
/ U; e( o) d" \* k553 Requested action not taken. File name not allowed
5 Q5 Q% s& t5 g$ f请求操作未被执行。 文件名不允许 $ E! l* _% k& W) _
-----------------------------------
; h- j  i! F  t& d% Q7 G-----------------------------------
# P$ v7 R! p5 b: V1 k( k* ~7 @, [5 T, X这种错误跟http协议类似,大致是:
; B8 I6 F2 C1 D. G9 }3 ~. H6 w2开头--成功
9 ?" G6 |; B6 H- y2 ]3开头--权限问题
! n; F$ l9 ^# c0 I1 i. F4开头--文件问题
6 t0 @3 ~5 V0 J3 S4 o$ T: d3 U5开头--服务器问题
( M9 W& k& e* P4 j</P>

已有(1)人评论

heeroyuyz 发表于 2004-10-10 21:25:36 | 显示全部楼层
哦,学到野拉,多谢!!
您需要登录后才可以回帖 登录 | 註冊

本版积分规则

快速
回复
返回
列表
返回
顶部