Reply code summary
Here is an overview of the most important reply codes that will be displayed by the FTP Protocol. These triple-digit codes indicate a positive response, a successful operation, a positive interim response, provisional negative response or a permanent negative response, depending on the first digit. The following sections outline the reply codes you may encounter, sorted by starting digit. Many are self-explanatory.
1xx - Positive reply
The following reply codes indicate that the operation has been successfully started. However, the client is waiting for an additional response before proceeding.
110: Restart marker reply: marker to continue the transfer from where it left off.
120: Service ready in nnn minutes
125: Data connection already open; starting transfer
150: File status okay; about to open data connection
2xx - Successful operation
The following reply codes indicate that the operation has been successfully completed. The client can execute a new command.
200: Command okay
202: Command not implemented; superfluous at this site
211: System status, or system help reply: Response for system status or system help feature.
212 Directory status.
213: File status
214: Help message
215: NAME system type: name of the type of system, where NAME is the official system name shown in the "Assigned Numbers" document.
220: Service ready for new user
221: Service closing control connection. Logged out if appropriate: Service closing control connection. User is logged out by the system if appropriate.
225: Data connection open; no transfer in progress
227: Entering Passive Mode (h1,h2,h3,h4,p1,p2)
230: User logged in; proceed
250: Requested file operation okay; completed
257: "PATHNAME" created
3xx - Positive interim response
The following reply codes indicate that although the command was successfully executed, the server needs additional information from the client before it can complete the processing request.
331: User name okay, need password
332: Need account for login
350: Additional information needed for requested file operation
4xx - Provisional negative response
The following reply codes indicate that the command could not be executed; however, because the error message indicates a temporary problem, you may be able to successfully complete the operation if you retry.
421: Service unavailable, closing control connection
425: Can't open data connection
426: Connection closed, transfer aborted
450: Requested file operation not performed. File unavailable
451: Requested file operation aborted: local processing error
452: Requested file operation not performed. Insufficient system storage space
5xx - Permanent negative response
These reply codes indicate that the operation could not be completed. Since the nature of the error is permanent, you will get the same error message if you try the operation again.
500: Syntax error, command not recognized
501: Syntax error in parameters or arguments
502: Command not implemented
503: Bad command sequence
504: Command not implemented for specified parameter
530: Not logged in
532: Account required to store files
550: Requested file operation not performed. File unavailable
551: Requested file operation aborted: unknown page type
552: Requested file operation aborted. Storage allocation exceeded (for current directory or record)
553: Requested file operation not performed. Invalid file name
Frequent reply codes and possible causes
The following describes frequently occurring reply codes and possible causes:
150 : An FTP connection uses two ports: 21 to send commands, and 22 to transfer data. This reply code indicates that the server has established a new connection to port 20 for data transfer.
230 : This reply code indicates that a suitable password was sent and the user is successfully logged on.
331 : This reply code is shown after a user name was sent. The same reply code always appears, regardless of whether the user name on the system is valid or not.
426 : A data connection is being established in order to carry out an operation. However, the operation was terminated and the data connection disconnected.
530 : This reply code indicates that the user cannot logon because the user name and/or password is not valid. Either the password for your user account was entered incorrectly, or the server is configured exclusively for anonymous access.
550 : The command cannot be executed because the named file does not exist. Two examples of when this reply code appears are: when a file that does not exist on the system is requested using the GET command or you want to create a file in a directory using the PUT command, but you do not have the necessary write permission.
分享到:
相关推荐
FTP服务器FTP服务器FTP服务器FTP服务器FTP服务器FTP服务器FTP服务器FTP服务器
如果用本FTP客户端登录某个FTP服务器,则先必须申请一个FTP空间,申请FTP空间时,它会给你一个FTP主机地址、用户名称、用户密码。 测试步骤: 1、项目编译并运行。 2、申请一个FTP空间(这里不讨论)。 3、输入FTP...
密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip密探ftp,多线程ftp.zip...
webftp.zip ftp源码 webftp.zip ftp源码 webftp.zip ftp源码 webftp.zip ftp源码 webftp.zip ftp源码
ftp扫描工具ftp扫描工具ftp扫描工具ftp扫描工具ftp扫描工具ftp扫描工具ftp扫描工具ftp扫描工具
FTP FTP FTP FTP FTP FTP FTP FTP FTP FTP FTP FTP FTP FTP FTP
实现ftpget与ftpput功能,可以从ftp服务器上面下载或上传文件
ftp检测\ftp扫描
详解ftp创建文件权限问题 一、问题 有一个这样的需求,admin为一个Linux为其FTP应用创建的一个有权限限制的用户,通过admin用户可以进行登录FTP服务,登录FTP服务后,创建文件夹,该文件夹的用户和用户组都是admin,...
FTP大全FTP大全FTP大全FTP大全FTP大全FTP大全FTP大全FTP大全
proxy源代码,linux下的ftp 代理的源代码,大家多多支持啊
FTP服务器单文件绿色版FTPServer
ftp4j是个很年轻的开源项目,但是试用后发现很好很强大,如果你找一个纯java的FTP库,要支持socks4,socks4a,socks5,http代理,就是他了! 比apache的FTPClient(不支持代理)、半商业的edtFTPj(PRO支持代理,...
首先需要取消“站点属性/允许匿名连接”,如图1。 接着进入“计算机管理/本地用户和组...回到IIS管理器,选择一个FTP站点“新建/虚拟目录/下一步”在别名处输入FTP01,选择“下一步”,路径选择刚刚创建的FTP01目
使用node.js 创建一个自定义的FTP服务器, 这里只是实现极少一部分! 主要是演示 ftp-srv 的文件系统(FileSystem)的部分用法!
FTP 弱口令或匿名登录漏洞,一般指使用 FTP 的用户启用了匿名登录功能,或系统口令的长度太短、复杂度不够、仅包含数字、或仅包含字母等,容易被黑客攻击,发生恶意文件上传或更严重的入侵行为。 漏洞危害 黑客利用...
FTP下载FTP下载FTP下载FTP下载FTP下载FTP下载FTP下载FTP下载
Serv-U是一种被广泛运用的FTP服务器端软件,支持3x/9x/ME/NT/2K等全Windows系列。可以设定多个FTP服务器、限定登录用户的权限、登录主目录及空间大小等,功能非常完备。 它具有非常完备的安全特性,支持SSl FTP传输...
开发FTP工具包 目前最新的工具,可实现所有FTP操作的功能
实现FTP批量上传文件到指定目录功能的bat脚本: @echo off @echo delete iplist.txt @del iplist.txt @setlocal EnableDelayedExpansion @echo create upload iplist.... @for /L %%i in (51,1,52) do ( @echo ...