|
ServerName "xxxxxxxx"
ServerType standalone
DefaultServer on
ServerAdmin xxx@xxx.com
# Port 21 is the standard FTP port.
Bind 192.168.0.240
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User com
Group com
<Global>
#RateReadFreeBytes 200000
AllowRetrieveRestart on #下载续传
DefaultRoot ~
RootLogin off
ServerIdent on " ices azure connected"
DisplayLogin welcome.msg
DisplayFirstChdir .message
MaxHostsPerUser 20 "太多人了!!大哥,您等会再来看我吧!!"
MaxLoginAttempts 4
TimeoutIdle 30 #设置空闲连接超时时间
TimeoutLogin 30 #设置空闲登陆超时时间
TimeoutNoTransfer 30 #设置当没有数据传输时的超时时间
TimeoutStalled 30 #设置被阻塞的下载的超时时间
AccessGrantMsg "you are so lucky to find this wonderful place!"
</Global>
<Directory ~/incoming>
AllowOverwrite on #如果要支持上传续传,那么必须指定
AllowStoreRestart on
</Directory>
<Limit READ DIRS>
IgnoreHidden on
</Limit> |
|