HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)
f
ftpd(1M) ftpd(1M)
NAME
ftpd - DARPA Internet File Transfer Protocol server
SYNOPSIS
/usr/lbin/ftpd
[-l][-p][-v][-t
timeout][-P][-T maxtimeout][-u umask][-U][
-K]
[
-B size][-a|
-A][-L][-i][-o][-m number_of_tries][
-n nice_value][
-q|-Q]
[
-r rootdir][-V][
-w|-W][-X][-I][-s|-S][-c
ctrlport][-C dataport]
DESCRIPTION
ftpd is the DARPA Internet File Transfer Protocol server. It expects to be run by the Internet daemon
(see inetd(1M) and inetd.conf(4)). inetd runs
ftpd when a service request is received at the port indi-
cated in the
ftp service specification in
/etc/services (see services(4)).
Options
ftpd recognizes the following options and command-line arguments.
-a Enables the use of the configuration file
/etc/ftpd/ftpaccess
. (see ftpac-
cess(4)).
-A Disables the use of the configuration file /etc/ftpd/ftpaccess
. (see ftpac-
cess(4)).
-B size Sets the buffer size of the data socket to size blocks of 1024 bytes. The valid range for
size is from 1 to 2097151 (default is 56). Note: A large buffer size will improve the
performance of ftpd on fast links, but may cause long connection times on slow links
(for example, X.25).
Note: If the buffer size needs to be set to any value other than multiples of 1024
bytes, use "B" immediately after size without any space. The size value will be taken
in terms of bytes. For example, to set the buffer size to a value equal to "1500", use
-B 1500B.
-c ctrlport
-C dataport Overrides the control and the data port numbers respectively that is used by the dae-
mon. Normally, the daemon determines the port numbers by looking in
/etc/services (see services(4)) for "ftp" and "ftp-data". If there is no
/etc/services entry for "ftp-data" and the -C
option is not specified, the daemon
uses the port just prior to the control connection port. The
-c and -C options are
both available if running as a standalone daemon. Otherwise, only the
-C option can
be used.
-i Logs all the files received by ftpd server to xferlog (see xferlog(5)). This option is
overridden by the /etc/ftpd/ftpaccess
file. (see ftpaccess(4)).
-I Enables the use of RFC931 (AUTH/ident) to attempt to determine the username on
the client.
-K Applicable only in a secure environment based on Kerberos V5. Causes access to be
denied if network authentication fails. See sis(5).
-l Causes each FTP session to be logged in the syslog file.
-L Logs all commands sent to the ftpd server to be logged to the syslog. The -L
option is overridden by the /etc/ftpd/ftpaccess file (see ftpaccess(4)). If the
-L option is used, commands will be logged to syslog by default.
-m number_of_tries
Specifies the number of tries for a bind() socket call.
-n nice_value Sets the nice value for an ftpd process. When using this option, make sure that the
nice clause in /etc/ftpd/ftpaccess file (see ftpaccess(4)) is not set.
-o Logs all files transmitted by ftpd to xferlog (see xferlog(5)). It logs outgoing files
from the ftpd server. This option is overridden by the /etc/ftpd/ftpaccess
file (see ftpaccess(4)).
-p The default action of ftpd does not allow usage of reserved ports as the originating
port on the client’s system; that is, the PORT command cannot specify a reserved
port. This option allows the client to specify a reserved port. Note, allowing usage of
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 259