ftpd.1m (2010 09)

f
ftpd(1M) ftpd(1M)
number is useful for programs; the text is useful for users. The number must conform to this standard,
but the text can vary.
The first digit of the message indicates whether the reply is good, bad, or incomplete. Five values exist
for the first digit. The values and the interpretations of the values are:
1 The requested action is being initiated; expect another reply before proceeding with a new
command.
2 The requested action is complete. The server is ready for a new request.
3 The command has been accepted, but the requested action requires more information.
4 The command was not accepted, the requested action failed, but the error condition is tem-
porary and the action can be requested again.
5 The command was not accepted, the requested action failed, and the error condition would
most likely occur again if the same command sequence is repeated.
The second digit indicates the functional area that the message addresses. The values of the second digit
and the interpretations of these values are:
0 Syntax. A message with a 0 for the second digit indicates that a syntax error occurred.
1 Information. A message with a 1 as the second digit indicates that the message is in reply
to a request for information.
2 Connections. A message with a 2 as the second digit indicates that the message is a reply
to a request for control and data connection information.
3 Authentication and accounting. A message with a 3 as the second digit indicates that the
message is a reply to a login or accounting procedure.
4 Not currently specified.
5 File system. A message with a 5 as the second digit indicates that the text following the
number contains information concerning the status of the server file system.
The third digit provides a further clarification of the information supplied by the second digit. Following
are several examples of messages. Note that
ftpd’s replies match the number but not the text.
110 Restart marker reply. MARK yyyy
=mmmm where yyyy is a user process data stream
marker, and mmmm is ftpds equivalent marker
120 Service ready in nnn minutes
200 Command okay
211 System status, or system help reply
212 Directory status
230 User logged in, proceed
250 Requested file action okay, completed
331 User name okay, need password
350 Requested file action pending further information
425 Cannot open data connection
451 Requested action aborted: local error in processing
500 Syntax error, command unrecognized or command line too long
530 Not logged in
550 Requested action not taken; file unavailable, not found, no access
GENERAL FTP EXTENSIONS
There are some extensions to the FTP server such that if the user specifies a filename (when using a
RETRIEVE command), the following actions will occur:
True Filename Specified Filename Action
filename.Z filename Decompress (uncompress) file
before transmitting
filename filename.Z Compress filename
before transmitting
8 Hewlett-Packard Company 8 HP-UX 11i Version 3: September 2010