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

f
ftpd(1M) ftpd(1M)
understood before the option is turned on.
-P Enables third party transfer.
-q | -Q Determines whether the daemon uses the PID files. These files are required by the
limit directive to determine the number of current users in each access class. Disa-
bling the use of the PID files disables user limits. The default (
-q) specifies to use the
PID files. Specify
-Q to disable using the PID files. The
-Q option can be used when
testing the server as a normal user when access permissions prevent the use of the
PID files. Large, busy sites which do not wish to impose limits on the number of con-
current users may also consider disabling the PID files.
-r rootdir Instructs the daemon to chroot (see chroot(2)) to the specified rootdir immediately
upon loading. This can improve system security by limiting the files which may be
damaged should a break-in occur through the daemon. This option is like anonymous
FTP. For this option to work properly additional les may be needed under the
specified rootdir, which can vary from system to system.
-s | -S Runs the daemon in standalone operation mode. The
-S option runs the daemon in
the background and is useful in startup scripts during system initialization (ie., in
rc.local). The
-s option leaves the daemon in foreground and is useful when running
from
init (see init(1M)).
-t timeout Causes ftpd to timeout inactive sessions after timeout seconds. By default, ftpd
terminates an inactive session after 15 minutes.
-T maxtimeout
A client can also request a different timeout period. The -T option sets to maxtimeout
the maximum timeout that client can request, in seconds. By default, the maximum
timeout is 2 hours.
-u umask Change default ftpd umask from 027 to umask.
-U Disables the use of sendfile() and uses send() for sending data. Use this
option if the link cannot handle more than one buffer per packet (e.g. Gigabit Ether-
net).
-v The debugging information is written to the syslog file.
-V Causes the program to display copyright and version information, then terminate.
-w | -W Determines whether the user logins are to be recorded in the wtmps and btmps files.
If the -W option is specified, user logins are not recorded in the wtmps or btmps file.
The default (-w) is used to record every login, logout, and bad login attempts.
-X Specifies that the output created by the -i and -o options is not saved to the xferlog
file but saved via syslog so that the output can be collected from several hosts on one
central loghost.
ftpd currently supports the following commands (uppercase and lowercase are interpreted as equivalent):
Command Description
ABOR
Abort previous command
ACCT Specify account (ignored)
ALLO Allocate storage (vacuously)
APPE Append to a file
CDUP Change to parent of current working directory
CWD Change working directory
DELE Delete a file
EPSV Sets the server to listen on a data port and wait for a connection
EPRT Use extended address for data connection
HELP Give help information
LIST Give list files in a directory (ls -l)
LPRT Use long address for data connection
LPSV Sets the server to listen on a data port and wait for a connection
MKD Make a directory
MDTM Show last modification time of file
MODE Specify data transfer mode
310 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update