Apache-FTP-Server: Configuration-<Server>

来源:互联网 发布:php卡密社区系统源码 编辑:程序博客网 时间:2024/05/17 00:50

<server xmlns="http://mina.apache.org/ftpserver/spring/v1"    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"    xsi:schemaLocation="http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd"    id="server"         max-logins="500"    anon-enabled="false"    max-anon-logins="123"    max-login-failures="124"    login-failure-delay="125">...</server>


server element


AttributeDescriptionRequiredDefault valueidA unique identifier for this server within this XML configirationYes max-threadsThe maximum number of threads used in the thread pool for handling client connectionsNomax-logins, or 16 if neither value is setmax-loginsThe maximum number of simultaneous usersNo10max-anon-loginsThe maximum number of simultaneous anonymous usersNo10anon-enabledAre anonymous logins enabled?Notruemax-login-failuresThe number of failed login attempts before the connection is closedNo3login-failure-delayThe number of milliseconds that the connection is delayed after a failed login attempt. Used to limit to possibility of brute force guessing passwords.No500

0 0