[FTP]
proftpd的续传问题,在线等!
配置文件中没出现的用户就可以,配置文件中出现的用户如匿名,test,music都不行,而与test,music同组的用户都可以,请指点!我已经搞了一个星期还没搞定,这样别人传东西很麻烦啊
ServerName "BUCT's FTP"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 50
MaxClients 80
User nobody
Group nobody
TimeoutNoTransfer 60
TimeoutLogin 30
TimeoutIdle 90
UseReverseDNS off
IdentLookups off
ExtendedLog /var/log/proftp.log ALL
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous>; section.
<Anonymous /ftp>;
User ftp
Group ftp
Umask 002
AccessGrantMsg "Anonymous User Login Successfully."
UserAlias anonymous ftp
MaxClientsPerUser 50
MaxClientsPerHost 1
TransferRate APPE,RETR,STOR 3000:300
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit WRITE>;
DenyAll
</Limit>;
<Limit LOGIN>;
Order allow,deny
Allow from 202.4.15*.
DenyAll
</Limit>;
<Directory incoming/*>;
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
<Limit WRITE>;
DenyAll
</Limit>;
<Limit STOR READ MKD>;
AllowAll
</Limit>;
</Directory>;
</Anonymous>;
DefaultRoot /ftp ftp
DefaultRoot /ftp/pub/TVEntZ bter
DefaultRoot /ftp/pub/Music bter2
ServerIdent off
AllowForeignAddress on
<Anonymous /ftp/pub/TVEntZ>;
User test
Group bter
Umask 002
AccessGrantMsg "You are Welcome,ZT!"
MaxClientsPerUser 15
MaxClientsPerHost 2
TransferRate APPE,RETR,STOR 1000:300
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit LOGIN>;
Order deny,allow
DENY from 202.112.152.*
ALLowAll
</Limit>;
<Limit WRITE>;
DenyAll
</Limit>;
<Limit STOR READ MKD>;
AllowAll
</Limit>;
</Anonymous>;
<Anonymous /ftp/pub/Music>;
User music
Group bter2
Umask 002
AccessGrantMsg "You are Welcome,BTer!"
MaxClientsPerUser 10
MaxClientsPerHost 2
TransferRate APPE,RETR,STOR 1000:300
<Directory /ftp/pub/Music>;
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
</Directory>;
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Limit LOGIN>;
Order deny,allow
DENY from 202.112.152.*
ALLowAll
</Limit>;
<Limit WRITE>;
DenyAll
</Limit>;
<Limit STOR READ MKD>;
AllowAll
</Limit>;
</Anonymous>;