配置文件
ServerType standalone
DefaultServer on
Umask 022
ServerName "My FTP Server"
ServerAdmin [email protected]
ServerIdent on "Show this instead ?"
IdentLookups off
UseReverseDNS off
Port 21
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 400
User nobody
Group nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 500
TransferRate STOR 1000
TransferRate STOU 1000
TransferRate APPE 1000
#--- End of the global configuration ---#
<Anonymous /home/ftp>
User greatwind
Group greatwind
AnonRequirePassword off
MaxClients 20 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit WRITE DELE APPE STOR SITE_CHMOD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
<Limit STOR RETR APPE WRITE>
AllowAll
</Limit>
<Limit DELE SITE_CHMOD>
DenyAll
</Limit>
</Directory>
</Anonymous>
配置文件
ServerType standalone
DefaultServer on
Umask 022
ServerName "My FTP Server"
ServerAdmin [email protected]
ServerIdent on "Show this instead ?"
IdentLookups off
UseReverseDNS off
Port 21
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 400
User nobody
Group nobody
DefaultTransferMode binary
AllowForeignAddress on
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 500
TransferRate STOR 1000
TransferRate STOU 1000
TransferRate APPE 1000
#--- End of the global configuration ---#
<Anonymous /home/ftp>
User greatwind
Group greatwind
AnonRequirePassword off
MaxClients 20 "The server is full, hosting %m users"
DisplayLogin welcome.msg
DisplayFirstChdir .msg
<Limit WRITE DELE APPE STOR SITE_CHMOD>
DenyAll
</Limit>
<Directory /home/ftp/upload/*>
<Limit STOR RETR APPE WRITE>
AllowAll
</Limit>
<Limit DELE SITE_CHMOD>
DenyAll
</Limit>
</Directory>
</Anonymous>