-.\" Copyright (c) 1983 Regents of the University of California.
+.\" Copyright (c) 1985 Regents of the University of California.
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)ftpd.8 5.1 (Berkeley) %G%
+.\" @(#)ftpd.8 6.4 (Berkeley) %G%
.\"
-.TH FTPD 8C "4 March 1983"
+.TH FTPD 8C "April 27, 1985"
.UC 5
.SH NAME
ftpd \- DARPA Internet File Transfer Protocol server
If the
.B \-d
option is specified,
-each socket created will have debugging turned
-on (SO_DEBUG). With debugging enabled, the system
-will trace all TCP packets sent and received on a
-socket. The program
-.IR trpt (8C)
-may then be used to interpret the packet traces.
+debugging information is written to the syslog.
.PP
If the
.B \-l
option is specified,
-each ftp session is logged on the standard output.
-This allows a line of the form
-`/etc/ftpd -l > /tmp/ftplog''
-to be used to conveniently maintain a log of ftp sessions.
+each ftp session is logged in the syslog.
.PP
The ftp server
-will timeout an inactive session after 60 seconds.
+will timeout an inactive session after 15 minutes.
If the
.B \-t
option is specified,
.nf
.ta \w'Request 'u
\fBRequest Description\fP
+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
HELP give help information
LIST give list files in a directory (``ls -lg'')
+MKD make a directory
MODE specify data transfer \fImode\fP
NLST give name list of files in directory (``ls'')
NOOP do nothing
PASS specify password
+PASV prepare for server-to-server transfer
PORT specify data connection port
+PWD print the current working directory
QUIT terminate session
RETR retrieve a file
+RMD remove a directory
RNFR specify rename-from file name
RNTO specify rename-to file name
STOR store a file
+STOU store a file with a unique name
STRU specify data transfer \fIstructure\fP
TYPE specify data transfer \fItype\fP
USER specify user name
XRMD remove a directory
.fi
.PP
-The remaining ftp requests specified in Internet RFC 765 are
+The remaining ftp requests specified in Internet RFC 959 are
recognized, but not implemented.
.PP
+The ftp server will abort an active file transfer only when the
+ABOR command is preceded by a Telnet "Interrupt Process" (IP)
+signal and a Telnet "Synch" signal in the command Telnet stream,
+as described in Internet RFC 959.
+.PP
.I Ftpd
interprets file names according to the ``globbing''
conventions used by
The user name must not appear in the file
.IR /etc/ftpusers .
.IP 3)
+The user must have a standard shell returned by
+.IR getusershell (3).
+.IP 4)
If the user name is ``anonymous'' or ``ftp'', an
anonymous ftp account must be present in the password
file (user ``ftp''). In this case the user is allowed
should then place files which are to be accessible via the
anonymous account in this directory.
.SH "SEE ALSO"
-ftp(1C),
+ftp(1C), getusershell(3), syslogd(8)
.SH BUGS
-There is no support for aborting commands.
-.PP
The anonymous account is inherently dangerous and should
avoided when possible.
.PP