由 訪客 » 週五 3月 28, 2003 9:43 am
ok~~~
ServerName "My Ftp Server"
ServerType standalone
DeferWelcome off
ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
AllowOverwrite on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayFirstChdir .message
LsDefaultOptions "-l"
DenyFilter \*.*/
#PersistentPasswd off
Port 21
MaxInstances 50
User nobody
Group nogroup
<Directory /*>
Umask 022 022
AllowOverwrite on
</Directory>
<Anonymous /var/ftp/pub>
User ftp
Group nogroup
UserAlias anonymous ftp
RequireValidShell off
MaxClients 50
DisplayLogin welcome.msg
DisplayFirstChdir .message
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
# Download limit
<Directory /var/ftp/*>
RateReadBPS 51200
</Directory>
</Anonymous>