diff options
author | nik <nik@FreeBSD.org> | 2001-08-28 11:59:21 +0000 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2001-08-28 11:59:21 +0000 |
commit | 28e8743f4b4b3dfe294fa82312f20d891d119846 (patch) | |
tree | b5001d0b73b93ace9a47b73c0ce00bc18a1afd5e /libexec/ftpd/ftpd.8 | |
parent | 6858a135d88590e8cc016be47aa6f7d379b63c96 (diff) | |
download | FreeBSD-src-28e8743f4b4b3dfe294fa82312f20d891d119846.zip FreeBSD-src-28e8743f4b4b3dfe294fa82312f20d891d119846.tar.gz |
Add a new option, '-o', for "Write-only". Disables the RETR command,
preventing anyone from downloading files. In conjunction with -A, and some
appropriate file permissions, this lets you create an anonymous FTP drop
box for people to upload files to.
The more obvious "-w" flag is already taken by NetBSD's ftpd. "-o" was
available as an option letter in all three BSDs.
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r-- | libexec/ftpd/ftpd.8 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index dd32934..1b64380 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -50,6 +50,7 @@ .Op Fl S .Op Fl U .Op Fl r +.Op Fl o .Op Fl E .Op Fl T Ar maxtimeout .Op Fl t Ar timeout @@ -157,6 +158,9 @@ Allow only anonymous ftp access. .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 E Disable the EPSV command. This is useful for servers behind older firewalls. |