- 论坛徽章:
- 0
|
编译的时候我加了:--with-diraliases
手册上是这么说的:
******************************************
SITE ALIAS
To support that feature, the server must be compiled with --with-diraliases
passed to ./configure .
To define alias/directory pairs, you must create a file called
/etc/pureftpd-dir-aliases, whoose format is:
Alternating lines of alias and dir
(this enables embeded whitespace in dir and alias without quoting rules)
Optional blank lines
Optional lines beginning with '#' as comments
(no you can't put a '#' just anywhere)
Example:
pictures
/usr/misc/pictures
sources
/usr/src
# This is for the OpenBSD port tree
pureftpd-port
/usr/ports/net/pure-ftpd
**********************************************************
# cat /etc/pureftpd-dir-aliases:
tmp
/tmp
然后我登录ftp
ftp> SITE ALIAS
?Invalid command
ftp> site alias
502 Configuration error
ftp> cd tmp
550 Can't change directory to tmp: No such file or directory
ftp>
请问这是怎么回事? |
|