HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)

f
ftpd(1M) ftpd(1M)
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
filename filename.tar Tar filename
before transmitting
filename filename.tar.Z Tar and compress filename
before transmitting
Also, the FTP server will attempt to check for valid e-mail addresses and notify the user if invalid e-mail
addresses are found. For users whose FTP client will hang on "long replies" (i.e. multiline responses),
using a dash as the first character of the password will disable this "long replies" feature.
Note: Users whose password starts with a dash, have to use an extra dash in the beginning of the pass-
word for login to succeed. However, the "long replies" feature will be disabled in this case.
The FTP server can also log all file transmission and reception, keeping the following information for
each file transmission that takes place.
%.24s %d %s %d %s %c %s %c %c %s %s %d %s
1 2345678910111213
1 current time in the form DDD MMM dd hh:mm:ss YYYY
2 transfer time in seconds
3 remote host name
4 file size in bytes
5 name of file
6 transfer type (a>scii, b>inary)
7 special action flags (concatenated as needed):
C file was compressed
U file was uncompressed
T file was tar’ed
_ no action taken
8 file was sent to user (o>utgoing) or received from user (i>ncoming)
9 accessed anonymously (r>eal, a>nonymous, g>uest)
10 local username or, if guest, ID string given (anonymous FTP password)
11 service name (’ftp’, other)
12 authentication method (bitmask)
0 none
1 RFC931 Authentication
13 authenticated user id (if available, ’*’ otherwise)
WARNINGS
The password is sent unencrypted through the socket connection.
Anonymous FTP is inherently dangerous to system security.
HP-UX 11i Version 2: September 2004 6 Hewlett-Packard Company Section 1M249