中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
作者:
标题: slimftpd.conf 的配置出错? 取消高亮 | 上一主题 | 下一主题
ooaf
中级用户





积分 313
发帖 162
注册 2007-4-2
状态 离线
『楼 主』:  slimftpd.conf 的配置出错?

我的配置如下:
可打开SlimFTPd.exe时,总是提示配置错误!
BindInterface All

BindPort 6990

CommandTimeout 300

ConnectTimeout 15

MaxConnections 20

LookupHosts off

<User "efw">
        Password "efw123"
        Mount / C:\ftproot
        Mount /upload c:\
        Allow / Read List
        Allow /upload Write
        Deny /private All
        Mount /files D:\files
</User>
原 slimftpd.conf :
#########################################
##                                     ##
##    SlimFTPd Configuration Script    ##
##                                     ##
#########################################

#
# Global server variables
#

#
# The BindInterface directive specifies which network interface should be used
# to listen for incoming connections. Available options are All, LAN, WAN,
# Local, or you can specify an IP address.
#
BindInterface All

#
# The BindPort directive specifies which TCP port should be used to listen for
# incoming connections. The standard FTP port is 21.
#
BindPort 6990

#
# The CommandTimeout directive specifies how many seconds to wait for a
# connected client to issue a command before dropping the connection. The
# default is 300 (5 minutes).
#
CommandTimeout 300

#
# The ConnectTimeout directive specifies how many seconds to wait for a data
# socket to connect with a client. This value applies to both active- and
# passive-mode connections. The default is 15.
#
ConnectTimeout 15

#
# The MaxConnections directive specifies an upper limit on the number of
# connections that may be made to the server at any one time. The default is
# 20.
#
MaxConnections 20

#
# The LookupHosts directive tells SlimFTPd whether it should look up the
# corresponding host names for IP addresses when logging connections. Note
# that this may take slightly more network bandwidth and may cause a short
# delay for users during initial connection. The default is On.
#
LookupHosts off


#
# User accounts
#

#
# You may refer to the following example of a user account setup. Note that
# backslashes must be escaped for proper interpretation by the script parser
# only when they occur in a double-quoted string. For example, C:\ is legal,
# but "C:\" is not legal. Use "C:\\" instead.
#
# Use the Mount directive to attach a local file system path to a virtual file
# system path. Refer to the examples below.
#
# Use the Allow and Deny directives to set permissions on paths in the virtual
# file system. Valid permission tokens are Read, Write, List, Admin, or All to
# indicate all four permission types.
#
# Use the Password directive to set a password for a user. If no password is
# set, the user will be allowed to login without a password.
#
# Examples:
#
#<User "bob">
#        Password "abc123"

# The next directive will cause all files and folders in C:\ftproot to appear
# in the server's root.
#        Mount / C:\ftproot

# Now we'll allow Read and List permissions for the root and all folders
# beneath it. We'll also explicitly allow Write permission for only the
# /upload folder (which in this example exists at C:\ftproot\upload) and
# all folders beneath it. Finally, we'll explicitly deny access of any kind
# to the /private folder (which would be located at C:\ftproot\private).
#        Allow / Read List
#        Allow /upload Write
#        Deny /private All

# Here's another mount point that would appear in the server's root as /files.
# Note that this mount point will automatically allow Read and List
# permissions as it inherits the server root's permissions defined above.
#        Mount /files D:\files

#</User>
#


2009-2-24 00:07
查看资料  发短消息 网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: