HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
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][-B size][-a]
[-A][-L][-i][-o][-m number_of_tries]
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)). ftpd recognizes the fol-
lowing options and command-line arguments.
-l Causes each FTP session to be logged in the syslog file.
-p The default action of ftpd does not allow usage of reserved ports as the originating
port on the client’s system i.e., the PORT command cannot specify a reserved port.
This option allows the client to specify a reserved port. Note, allowing usage of
reserved ports can result in the misuse of ftpd. The security ramifications should be
understood before the option is turned on.
-v The debugging information is written to the syslog file.
-t timeout Causes ftpd to timeout inactive sessions after timeout seconds. By default, ftpd
terminates an inactive session after 15 minutes.
-P Enables third party transfer.
-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.
-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 64 (default is 56). NOTE: A large buffer size will improve the perfor-
mance of
ftpd on fast links (e.g. FDDI), but may cause long connection times on
slow links (e.g. X.25).
-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)).
-L Logs all commands sent to the ftpd(1M) server to be logged to the syslog. The -L
option is overridden by /etc/ftpd/ftpaccess file. (see ftpaccess(4)). If the -L option is
used, commands will be logged to syslog by default.
-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)).
-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)).
-m number_of_tries
Specifies the number of tries for a bind() socket call.
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
HP-UX Release 11i: December 2000 − 1 − Section 1M−−275
___
___