|
楼主 |
发表于 2004-6-5 13:53:51
|
显示全部楼层
经过我多次在windows下用cuteftp实验,那样的匿名上传下载速率设置是没错的
TraRate RETR 100 user anonymous,ftp
TransferRate STORE 100 user anonymous,ftp
只是现在,有一点不行,下载和下载续传都没问题,速率限制都没问题
可是上传时候,速率也能限制为100K,可是如果我上传的时候停止了,则
cuteftp会出现报错:
530 Sorry, you may not connect more than one time.
错误:> 警告!接收到无效的 ftp 回复: 期望在服务器回复的开始有 3 位数。
状态:> 登录成功。
命令:> PWD
错误:> 控制连接已关闭。
当我再次双击所上传的连接时候,则能继续续传,可这次则不以我限制的100K上传了,而是无限制速率的上传,怎么回事呢
还希望帮帮我,谢谢啦!
我的proftpd.conf 如下:
ServerName "fwen's FTP Server"
ServerType standalone
DefaultServer on
Port 21
Umask 022
RootLogin off
MaxInstances 30
User nobody
Group nobody
TimeoutStalled 10
MaxClients 10 "Sorry, max %m users -- try again later"
MaxClientsPerHost 1 "Sorry, you may not connect more than one time."
AllowRetrieveRestart on
AllowStoreRestart on
DisplayLogin welcome.msg
ServerIdent on
DefaultRoot ~ ftpusers
<Directory />
AllowOverwrite on
</Directory>
<Directory /home/upload>
<Limit RMD RNFR DELE >
DenyUser fan
</Limit>
<Limit STOR MKD WRITE READ RETR DIRS>
AllowUser fan
</Limit>
TransferRate RETR 100 user fan
TransferRate STOR 300 user fan
</Directory>
<Anonymous /mnt/win_f/ftp>
User ftp
Group ftp
UserAlias anonymous ftp
TransferRate STOR 100 user anonymous,ftp
TransferRate RETR 100 user anonymous,ftp
<Limit WRITE>
DenyAll
</Limit>
<Directory /mnt/win_f/ftp/incoming/*>
<Limit STOR MKD WRITE READ RETR DIRS>
AllowAll
</Limit>
<Limit RMD RNFR DELE >
DenyAll
</Limit>
</Directory>
</Anonymous> |
|