http://moto.debian.org.tw/viewtopic.php?p=5721&sid=0550d193d56144f0fde507b2ee6d01ad

proftpd.conf


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>
創作者介紹

創造心理的感動

gisanfu 發表在 痞客邦 PIXNET 留言(0) 人氣()