Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Searchable, convenient, complete TCP/IP information.
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP File and Message Transfer Applications and Protocols (FTP, TFTP, Electronic Mail, USENET, HTTP/WWW, Gopher)
                9  TCP/IP General File Transfer Protocols (FTP and TFTP)
                     9  File Transfer Protocol (FTP)
                          9  FTP Commands and Replies

Previous Topic/Section
FTP Internal Protocol Commands and Command Groups
Previous Page
Pages in Current Topic/Section
123
4
5
Next Page
FTP User Interface and User Commands
Next Topic/Section

FTP Replies, Reply Code Format and Important Reply Codes
(Page 4 of 5)

Common FTP Reply Codes

Table 230 contains a list of some of the more common FTP reply codes taken from RFC 959. They are shown in numerical order, along with the reply text given as typical in that document, and additional descriptive information from myself where needed:


Table 230: FTP Reply Codes

Reply Code

Typical Reply Text

Description

110

Restart marker reply.

Used as part of the marker restart feature when transferring in block mode.

120

Service ready in “nnn” minutes.

“nnn” indicates the number of minutes until the service will be available.

125

Data connection already open; transfer starting.

 

150

File status okay; about to open data connection.

 

200

Command okay.

Sometimes the text indicates the name of the command that was successful.

202

Command not implemented, or superfluous at this site.

 

211

System status, or system help reply.

Will contain system-specific status or help information.

212

Directory status.

 

213

File status.

 

214

Help message.

Includes help information of use to a human user of this server.

215

“NAME” system type.

“NAME” is the name of a type of operating system. Often sent as a reply to the SYST command.

220

Service ready for new user.

Sent when the command channel is established before the USER command is sent.

221

Service closing control connection.

A “goodbye” message sent when the session is closed.

225

Data connection open; no transfer in progress.

 

226

Closing data connection.

Sent after a successful file transfer or a file abort.

227

Entering Passive Mode (h1,h2,h3,h4,p1,p2).

Sent in reply to the PASV command, indicates the IP address and port to use for the data connection.

230

User logged in, proceed.

Sent after successful USER and PASS authentication. Systems often include additional “greeting” or other information with this code after a login.

250

Requested file action okay, completed.

The text description will provide more details about what was successfully done, such as confirming a change of directory or deleted file.

257

“PATHNAME” created.

“PATHNAME” is replaced by the path created.

331

User name okay, need password.

Intermediate result after sending USER but before sending PASS.

332

Need account for login.

 

350

Requested file action pending further information.

 

421

Service not available, closing control connection.

Sometimes sent if the FTP server is in the process of shutting down.

425

Can't open data connection.

 

426

Connection closed; transfer aborted.

 

450

Requested file action not taken. File unavailable.

The file is not available; for example, it may be locked by another user. Contrast to reply code 550.

451

Requested action aborted: local error in processing.

 

452

Requested action not taken. Insufficient storage space in system.

The file system is full.

500

Syntax error, command unrecognized.

Bad or excessively long command line was sent.

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.

Sent if authentication fails due to a bad user name or incorrect password.

550

Requested action not taken. File unavailable.

File was not found or user does not have access to it. This error code may be sent in reply to any file transfer command if the user has not successfully logged in yet. Contrast to reply code 450.

551

Requested action aborted: page type unknown.

 

552

Requested file action aborted. Exceeded storage allocation.

 

553

Requested action not taken. File name not allowed.

 


Previous Topic/Section
FTP Internal Protocol Commands and Command Groups
Previous Page
Pages in Current Topic/Section
123
4
5
Next Page
FTP User Interface and User Commands
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.