summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/ftpd.8
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-07-26 15:46:08 +0000
committeryar <yar@FreeBSD.org>2002-07-26 15:46:08 +0000
commit11df7e3f6f1ddc12cf84d3ebc989f2cae7457e6d (patch)
tree7588a51a0a1e0238d034bba8b22e9059270ce81c /libexec/ftpd/ftpd.8
parentb26a01d35d82e591dd1c580e6050197062ca83f8 (diff)
downloadFreeBSD-src-11df7e3f6f1ddc12cf84d3ebc989f2cae7457e6d.zip
FreeBSD-src-11df7e3f6f1ddc12cf84d3ebc989f2cae7457e6d.tar.gz
Sort command-line options according to the mostly used style:
alphabetical order, lower and upper case of the same letter stick together, lower case first. MFC after: 2 weeks
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r--libexec/ftpd/ftpd.896
1 files changed, 48 insertions, 48 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8
index da6adf2..b7ae30c 100644
--- a/libexec/ftpd/ftpd.8
+++ b/libexec/ftpd/ftpd.8
@@ -40,12 +40,12 @@
.Nd Internet File Transfer Protocol server
.Sh SYNOPSIS
.Nm
-.Op Fl 46ADEMORSUdro
+.Op Fl 46AdDEMoOrRSU
.Op Fl l Op Fl l
-.Op Fl T Ar maxtimeout
.Op Fl a Ar address
.Op Fl p Ar file
.Op Fl t Ar timeout
+.Op Fl T Ar maxtimeout
.Sh DESCRIPTION
The
.Nm
@@ -81,8 +81,16 @@ When
is specified, accept connections via
.Dv AF_INET6
socket.
+.It Fl a
+When
+.Fl D
+is specified, accept connections only on the specified
+.Ar address .
.It Fl A
Allow only anonymous ftp access.
+.It Fl d
+Debugging information is written to the syslog using
+.Dv LOG_FTP .
.It Fl D
With this option set,
.Nm
@@ -96,14 +104,41 @@ and is thus useful on busy servers to reduce load.
.It Fl E
Disable the EPSV command.
This is useful for servers behind older firewalls.
+.It Fl l
+Each successful and failed
+.Xr ftp 1
+session is logged using syslog with a facility of
+.Dv LOG_FTP .
+If this option is specified twice, the retrieve (get), store (put), append,
+delete, make directory, remove directory and rename operations and
+their filename arguments are also logged.
+Note:
+.Dv LOG_FTP
+messages
+are not displayed by
+.Xr syslogd 8
+by default, and may have to be enabled in
+.Xr syslogd 8 Ns 's
+configuration file.
.It Fl M
Prevent anonymous users from creating directories.
+.It Fl o
+Put server in write-only mode.
+RETR is disabled, preventing downloads.
.It Fl O
Put server in write-only mode for anonymous users only.
RETR is disabled for anonymous users, preventing anonymous downloads.
This has no effect if
.Fl o
is also specified.
+.It Fl p
+When
+.Fl D
+is specified, write the daemon's process ID to
+.Ar file .
+.It Fl r
+Put server in read-only mode.
+All commands which may modify the local filesystem are disabled.
.It Fl R
With this option set,
.Nm
@@ -120,38 +155,10 @@ With this option set,
logs all anonymous file downloads to the file
.Pa /var/log/ftpd
when this file exists.
-.It Fl U
-In previous versions of
-.Nm ,
-when a passive mode client requested a data connection to the server,
-the server would use data ports in the range 1024..4999. Now, by default,
-the server will use data ports in the range 49152..65535. Specifying this
-option will revert to the old behavior.
-.It Fl d
-Debugging information is written to the syslog using
-.Dv LOG_FTP .
-.It Fl r
-Put server in read-only mode.
-All commands which may modify the local filesystem are disabled.
-.It Fl o
-Put server in write-only mode.
-RETR is disabled, preventing downloads.
-.It Fl l
-Each successful and failed
-.Xr ftp 1
-session is logged using syslog with a facility of
-.Dv LOG_FTP .
-If this option is specified twice, the retrieve (get), store (put), append,
-delete, make directory, remove directory and rename operations and
-their filename arguments are also logged.
-Note:
-.Dv LOG_FTP
-messages
-are not displayed by
-.Xr syslogd 8
-by default, and may have to be enabled in
-.Xr syslogd 8 Ns 's
-configuration file.
+.It Fl t
+The inactivity timeout period is set to
+.Ar timeout
+seconds (the default is 15 minutes).
.It Fl T
A client may also request a different timeout period;
the maximum period allowed may be set to
@@ -160,20 +167,13 @@ seconds with the
.Fl T
option.
The default limit is 2 hours.
-.It Fl a
-When
-.Fl D
-is specified, accept connections only on the specified
-.Ar address .
-.It Fl p
-When
-.Fl D
-is specified, write the daemon's process ID to
-.Ar file .
-.It Fl t
-The inactivity timeout period is set to
-.Ar timeout
-seconds (the default is 15 minutes).
+.It Fl U
+In previous versions of
+.Nm ,
+when a passive mode client requested a data connection to the server,
+the server would use data ports in the range 1024..4999. Now, by default,
+the server will use data ports in the range 49152..65535. Specifying this
+option will revert to the old behavior.
.El
.Pp
The file
OpenPOWER on IntegriCloud