proftp配置的一些问题

由 pupilzeng 在 05-04-2003 12:52 发表:

proftp配置的一些问题

1).如何设置总的带宽?TransferRate好象是限制每个用户的带宽

2).对目录的读写权限,他们之间是什么关系?比方说哪些会把另外一些覆盖?

默认的权限又是什么?

这是文档中有关limit的描述,没怎么看懂,谁能帮忙翻译一下嘛?

The Limit configuration block is used to place access restrictions on one or more FTP commands, within a given context. Limits flow downward, so that a Limit configuration in the server config context applies to all

1<directory> and <anonymous> blocks that also reside in the configuration; until it is overridden by a "lower" <limit> block. Any number of command parameters can be specified, against which the contents of the <limit> block will be applied. command can be any valid FTP command, but is generally one of the following: CWD (Change Working Directory) Sent by client when changing directories. MKD / XMKD (MaKe Directory) Sent by client to create a new directory. RNFR (ReName FRom), RNTO (ReName TO) Sent as a pair by client to rename a directory entry. DELE (DELEte) Sent by client to delete a file. RMD / XRMD (ReMove Directory) Sent by client to remove a directory. RETR (RETRieve) Transfer a file from the server to the client. STOR (STORe) Transfer a file from the client to the server. In addition, the following command-groups are accepted. They have a lower precedence than real commands, meaning that a real command limit will always be applied instead of the command-group. READ All FTP commands which deal with file reading (directory listing not included): RETR, SITE, SIZE, STAT WRITE All FTP commands which deal with file or directory write/creation/deletion: APPE, DELE, MKD, RMD, RNTO, STOR, XMKD, XRMD DIRS All FTP commands which deal with directory listing: CDUP, CWD, LIST, MDTM, NLST, PWD, RNFR, XCUP, XCWD, XPWD ALL ALL FTP commands (identical to READ WRITE DIRS). Note this group has the lowest precedence of all; it will not override a limit imposed by another command-group (e.g. DIRS). Finally, a special command is allowed which can be used to control login access: LOGIN Connection or login to the server. Applying a <limit> to this pseudo-command can be used to allow or deny initial connection or login to the</limit></limit></limit></anonymous></directory>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus