diff options
author | yar <yar@FreeBSD.org> | 2007-04-18 22:43:39 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2007-04-18 22:43:39 +0000 |
commit | 021deab651b9dfe702f6782a0cd84160cfde4879 (patch) | |
tree | e8d5084ca4e462ef12b2274ff9ba0ab5aaab315c /libexec/ftpd/ftpd.8 | |
parent | c44ef841d01c6fcd81a5059c28aba52e203f0a10 (diff) | |
download | FreeBSD-src-021deab651b9dfe702f6782a0cd84160cfde4879.zip FreeBSD-src-021deab651b9dfe702f6782a0cd84160cfde4879.tar.gz |
Add support for RFC 2389 (FEAT) and RFC 2640 (UTF8) to ftpd(8).
The support for RFC 2640 (UTF8) is optional and rudimentary.
The server just advertises its capability to handle UTF-8 file
names and relies on its own 8-bit cleanness, as well as on
the backward compatibility of UTF-8 with ASCII. So uploaded
files will have UTF-8 names, but the initial server contents
should be prepared in UTF-8 by hand, no on-the-fly conversion
of file names will be done.
PR: bin/111714
Submitted by: Zhang Weiwu <see email in the PR>
MFC after: 1 week
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r-- | libexec/ftpd/ftpd.8 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index 7f8a3ca..c17be80 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -40,7 +40,7 @@ .Nd Internet File Transfer Protocol server .Sh SYNOPSIS .Nm -.Op Fl 46ADdEhMmOoRrSUvW +.Op Fl 468ADdEhMmOoRrSUvW .Op Fl l Op Fl l .Op Fl a Ar address .Op Fl P Ar port @@ -78,6 +78,21 @@ When is specified, accept connections via .Dv AF_INET6 socket. +.It Fl 8 +The server is running in transparent UTF-8 mode. +That is, it just encourages RFC\ 2640 compliant clients to send +paths encoded in UTF-8 in their commands. +In particular, the names of files uploaded by such clients will +have UTF-8 encoding. +The clients will also assume that server replies and existing file +names have UTF-8 encoding, too. +The names of files preloaded to the server should meet this expectation +for the clients to present the correct file names to their users. +Own messages of +.Nm +are always encoded in ASCII, which in fact is a subset of UTF-8. +.Pp +Note that this option does not make the server do any encoding conversion. .It Fl A Allow only anonymous ftp access. .It Fl a @@ -250,6 +265,7 @@ is specified. .It DELE Ta "delete a file [RW]" .It EPRT Ta "specify data connection port, multiprotocol" .It EPSV Ta "prepare for server-to-server transfer, multiprotocol" +.It FEAT Ta "give information on extended features of server" .It HELP Ta "give help information" .It LIST Ta "give list files in a directory" Pq Dq Li "ls -lgA" .It LPRT Ta "specify data connection port, multiprotocol" |