HTTP and FTP status code



HTTP/1.1 Status Codes

Code Name and Notes

100 Continue

101 Switching Protocols

Successful

200 OK Everything is normal

201 Created

202 Accepted

203 Non-Authoritative Information

204 No Content

205 Reset Content

206 Partial Content

Redirection

300 Multiple Choices

301 Moved Permanently Update your URL, this has moved for good.

302 Found

303 See Other

304 Not Modified

305 Use Proxy

306 Unused

307 Temporary Redirect This is temporarly moved, don't update your bookmarks.

Client Error

400 Bad Request Server didn't understand the URL you gave it.

401 Unauthorized Must be authenticated

402 Payment Required Not used really

403 Forbidden Server refuses to give you a file, authentication won't help

404 Not Found A file doesn't exist at that address

405 Method Not Allowed

406 Not Acceptable

407 Proxy Authentication Required

408 Request Timeout Browser took too long to request something

409 Conflict

410 Gone

411 Lengh Required

412 Precondition Failed

413 Reqeust Entity Too Large

415 Unsupported Media Type

416 Request Range Not Satisfiable

417 Expectation Failed

Server Error

500 Internal Server Error Something on the server didn't work right.

501 Not Implemented

502 Bad Gateway

503 Service Unavailable Too busy to respond to a client

504 Gateway Timeout

505 HTTP Version Not Supported

Creative Commons Attribution-Share Alike 3.0 Unported – Bryan English - http://bluelinecity.com

*********************************************************

FTP Code -- Explanation 

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. 

234 Specifies that the server accepts the authentication mechanism specified by the client, and the exchange of security data is complete. A higher level nonstandard code created by Microsoft. 

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 information 

400 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 password 

434 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 integrity 

631 Integrity protected reply. 

632 Confidentiality and integrity protected reply. 

633 Confidentiality protected reply. 

10000 Series Common Winsock Error Codes 

10054 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.

0 comments:

Post a Comment

Twitter Facebook Favorites More