FTP协议
来源:互联网 发布:知乎 粮食 编辑:程序博客网 时间:2024/05/01 19:52
http://en.wikipedia.org/wiki/List_of_FTP_server_return_codes
Below is a list of all known return codes that may be issued by an FTP server.
100 Series
The requested action is being initiated, expect another reply before proceeding with a new command.110
Restart marker replay . 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 "=").120
Service ready in nnn minutes.125
Data connection already open; transfer starting.150
File status okay; about to open data connection.200 Series
The requested action has been successfully completed.202
Command not implemented, superfluous at this site.211
System status, or system help reply.212
Directory status.213
File status.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.215
NAME system type. Where NAME is an official system name from the registry kept by IANA.220
Service ready for new user.221
Service closing control connection.225
Data connection open; no transfer in progress.226
Closing data connection. Requested file action successful (for example, file transfer or file abort).227
Entering Passive Mode (h1,h2,h3,h4,p1,p2).228
Entering Long Passive Mode (long address, port).229
Entering Extended Passive Mode (|||port|).230
User logged in, proceed. Logged out if appropriate.231
User logged out; service terminated.232
Logout command noted, will complete when transfer done.250
Requested file action okay, completed.257
"PATHNAME" created.300 Series
The command has been accepted, but the requested action is on hold, pending receipt of further information.331
User name okay, need password.332
Need account for login.350
Requested file action pending further information400 Series
The command was not accepted and the requested action did not take place, but the error condition is temporary and the action may be requested again.421
Service not available, closing control connection. This may be a reply to any command if the service knows it must shut down.425
Can't open data connection.426
Connection closed; transfer aborted.430
Invalid username or password434
Requested host unavailable.450
Requested file action not taken.451
Requested action aborted. Local error in processing.452
Requested action not taken. Insufficient storage space in system.File unavailable (e.g., file busy).500 Series
Syntax error, command unrecognized and the requested action did not take place. This may include errors such as command line too long.501
Syntax error in parameters or arguments.502
Command not implemented.503
Bad sequence of commands.504
Command not implemented for that parameter.530
Not logged in.532
Need account for storing files.550
Requested action not taken. File unavailable (e.g., file not found, no access).551
Requested action aborted. Page type unknown.552
Requested file action aborted. Exceeded storage allocation (for current directory or dataset).553
Requested action not taken. File name not allowed.600 Series
Replies regarding confidentiality and integrity631
Integrity protected reply.632
Confidentiality and integrity protected reply.633
Confidentiality protected reply.10000 Series
Common Winsock Error Codes10054
Connection reset by peer. The connection was forcibly closed by the remote host.10060
Cannot connect to remote server.10061
Cannot connect to remote server. The connection is actively refused by the server.10066
Directory not empty.10068
Too many users, server is full.http://en.wikipedia.org/wiki/List_of_FTP_commands
List of FTP commands
From Wikipedia, the free encyclopedia
Below is a list of FTP commands that may be sent to an FTP server, including all commands that are standardized in RFC 959 by the IETF. All commands below are RFC 959 based unless stated otherwise. Note that most command-line FTP clients present their own set of commands to users. For example, GET is the common user command to download a file instead of the raw command RETR.
FileZilla客户端连接FileZilla服务端,用Wireshark抓包:
接下来是一些命令:
客户端:
Status:Connecting to 192.168.1.142:21...Status:Connection established, waiting for welcome message...Response:220-FileZilla Server version 0.9.41 betaResponse:220-written by Tim Kosse (Tim.Kosse@gmx.de)Response:220 Please visit http://sourceforge.net/projects/filezilla/Command:USER yangResponse:331 Password required for yangCommand:PASS Response:230 Logged onCommand:SYSTResponse:215 UNIX emulated by FileZillaCommand:FEATResponse:211-Features:Response: MDTMResponse: REST STREAMResponse: SIZEResponse: MLST type*;size*;modify*;Response: MLSDResponse: UTF8Response: CLNTResponse: MFMTResponse:211 EndStatus:ConnectedStatus:Retrieving directory listing...Command:PWDResponse:257 "/" is current directory.Command:TYPE IResponse:200 Type set to ICommand:PASVResponse:227 Entering Passive Mode (192,168,1,142,4,74)Command:MLSDResponse:150 Connection acceptedResponse:226 Transfer OKStatus:Directory listing successful
服务端:
(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> Connected, sending welcome message...(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> 220-FileZilla Server version 0.9.41 beta(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> 220 Please visit http://sourceforge.net/projects/filezilla/(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> USER yang(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> 331 Password required for yang(000008)2013-5-26 13:45:10 - (not logged in) (192.168.1.143)> PASS (000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 230 Logged on(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> SYST(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 215 UNIX emulated by FileZilla(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> FEAT(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 211-Features:(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> MDTM(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> REST STREAM(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> SIZE(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> MLST type*;size*;modify*;(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> MLSD(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> UTF8(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> CLNT(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> MFMT(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 211 End(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> PWD(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 257 "/" is current directory.(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> TYPE I(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 200 Type set to I(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> PASV(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 227 Entering Passive Mode (192,168,1,142,4,74)(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> MLSD(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 150 Connection accepted(000008)2013-5-26 13:45:10 - yang (192.168.1.143)> 226 Transfer OK
- FTP协议
- FTP协议
- ftp协议
- FTP 协议
- FTP协议
- FTP协议
- ftp 协议
- ftp协议
- ftp协议
- FTP协议
- ftp 协议
- FTP协议
- FTP协议
- ftp协议
- Ftp 协议:
- FTP协议
- ftp协议
- FTP协议
- 地址转换
- 文件内容查看 cat,less,more,tail,head,sed
- maven配置
- c# 磁盘调度算法:-最短寻道时间优先
- linux下查看所有用户及所有用户组
- FTP协议
- 手上青春还剩多少
- C#播放MP3音乐文件
- 配置GDB以支持查看stl容器数据
- Ubuntu 12.04安装Java开发环境
- Java学习笔记25:Java中MD5使用
- libgdx 与 android studio
- Java 学习笔记14:Spring 数据库数据源DBCP配置说明
- 系统支持的集中对话框