ftpd.1m (2010 09)

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][
-M locale ][-n
nice_value ][-q|-Q]
[
-r rootdir ][-V][
-w|-W][-X][-I][-s|-S][-c
ctrlport ][-C dataport ]
[
-z flag...] [-z option
=value...]
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
daemon. 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 dae-
mon 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.
-M locale Specify the locale (see locale (1)) that ftpd should use. The default locale for ftpd
is C. This may create a problem when handling some multibyte characters which
are locale specific. In this case, use the -M option to specify the appropriate locale.
Note: usage of this option may result in increased memory usage, decreased per-
formance, and will process characters which belong to the specified locale only.
-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.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (10 pages)