741 |
13 Aug 08 |
nicklas |
1 |
<?xml version="1.0" encoding="UTF-8"?> |
741 |
13 Aug 08 |
nicklas |
2 |
<server |
741 |
13 Aug 08 |
nicklas |
3 |
xmlns="http://mina.apache.org/ftpserver/spring/v1" |
741 |
13 Aug 08 |
nicklas |
4 |
|
741 |
13 Aug 08 |
nicklas |
5 |
xmlns:beans="http://www.springframework.org/schema/beans" |
741 |
13 Aug 08 |
nicklas |
6 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
741 |
13 Aug 08 |
nicklas |
7 |
xsi:schemaLocation=" |
741 |
13 Aug 08 |
nicklas |
8 |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd |
741 |
13 Aug 08 |
nicklas |
9 |
http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd |
741 |
13 Aug 08 |
nicklas |
10 |
" |
741 |
13 Aug 08 |
nicklas |
11 |
id="server" |
741 |
13 Aug 08 |
nicklas |
12 |
max-logins="20" |
741 |
13 Aug 08 |
nicklas |
13 |
anon-enabled="false" |
741 |
13 Aug 08 |
nicklas |
14 |
max-anon-logins="0" |
741 |
13 Aug 08 |
nicklas |
15 |
max-login-failures="3" |
741 |
13 Aug 08 |
nicklas |
16 |
login-failure-delay="500" |
741 |
13 Aug 08 |
nicklas |
17 |
> |
741 |
13 Aug 08 |
nicklas |
18 |
<listeners> |
741 |
13 Aug 08 |
nicklas |
19 |
<!-- |
741 |
13 Aug 08 |
nicklas |
See http://mina.apache.org/ftpserver/documentation.html |
741 |
13 Aug 08 |
nicklas |
for documentation about configuration options. |
741 |
13 Aug 08 |
nicklas |
22 |
--> |
741 |
13 Aug 08 |
nicklas |
23 |
<!-- |
741 |
13 Aug 08 |
nicklas |
A plain non-encrypted FTP server connection on port 2121, |
741 |
13 Aug 08 |
nicklas |
supporting both active and passive connections. |
741 |
13 Aug 08 |
nicklas |
26 |
--> |
741 |
13 Aug 08 |
nicklas |
27 |
<nio-listener |
741 |
13 Aug 08 |
nicklas |
28 |
name="default" |
741 |
13 Aug 08 |
nicklas |
29 |
port="2121" |
741 |
13 Aug 08 |
nicklas |
30 |
implicit-ssl="false" |
741 |
13 Aug 08 |
nicklas |
31 |
idle-timeout="60" |
741 |
13 Aug 08 |
nicklas |
32 |
> |
741 |
13 Aug 08 |
nicklas |
33 |
<data-connection |
741 |
13 Aug 08 |
nicklas |
34 |
idle-timeout="60" |
741 |
13 Aug 08 |
nicklas |
35 |
> |
741 |
13 Aug 08 |
nicklas |
36 |
<active enabled="true" ip-check="true" /> |
741 |
13 Aug 08 |
nicklas |
37 |
<passive ports="0" /> |
741 |
13 Aug 08 |
nicklas |
38 |
</data-connection> |
741 |
13 Aug 08 |
nicklas |
39 |
</nio-listener> |
741 |
13 Aug 08 |
nicklas |
40 |
|
741 |
13 Aug 08 |
nicklas |
41 |
<!-- |
741 |
13 Aug 08 |
nicklas |
An implicit SSL FTP server connection on port 2122. |
741 |
13 Aug 08 |
nicklas |
Change the path and password to point to your keystore file. |
741 |
13 Aug 08 |
nicklas |
44 |
--> |
741 |
13 Aug 08 |
nicklas |
45 |
<!-- |
741 |
13 Aug 08 |
nicklas |
<nio-listener |
741 |
13 Aug 08 |
nicklas |
name="implicitssl" |
741 |
13 Aug 08 |
nicklas |
port="2122" |
741 |
13 Aug 08 |
nicklas |
implicit-ssl="true" |
741 |
13 Aug 08 |
nicklas |
idle-timeout="60" |
741 |
13 Aug 08 |
nicklas |
51 |
> |
741 |
13 Aug 08 |
nicklas |
<ssl> |
741 |
13 Aug 08 |
nicklas |
<keystore |
741 |
13 Aug 08 |
nicklas |
file="/path/to/keystore.jks" |
741 |
13 Aug 08 |
nicklas |
password="testing" |
741 |
13 Aug 08 |
nicklas |
key-password="testing" |
741 |
13 Aug 08 |
nicklas |
57 |
/> |
741 |
13 Aug 08 |
nicklas |
</ssl> |
741 |
13 Aug 08 |
nicklas |
<data-connection |
741 |
13 Aug 08 |
nicklas |
idle-timeout="60" |
741 |
13 Aug 08 |
nicklas |
61 |
> |
741 |
13 Aug 08 |
nicklas |
<active enabled="false" /> |
741 |
13 Aug 08 |
nicklas |
<passive ports="0" /> |
741 |
13 Aug 08 |
nicklas |
</data-connection> |
741 |
13 Aug 08 |
nicklas |
</nio-listener> |
741 |
13 Aug 08 |
nicklas |
66 |
--> |
741 |
13 Aug 08 |
nicklas |
67 |
</listeners> |
741 |
13 Aug 08 |
nicklas |
68 |
|
741 |
13 Aug 08 |
nicklas |
<!-- DO NOT CHANGE - ftplet is required for proper logout handling --> |
741 |
13 Aug 08 |
nicklas |
70 |
<ftplets> |
741 |
13 Aug 08 |
nicklas |
71 |
<ftplet name="base"> |
741 |
13 Aug 08 |
nicklas |
72 |
<beans:bean class="net.sf.basedb.clients.ftp.BaseFtplet" /> |
741 |
13 Aug 08 |
nicklas |
73 |
</ftplet> |
741 |
13 Aug 08 |
nicklas |
74 |
</ftplets> |
741 |
13 Aug 08 |
nicklas |
75 |
|
741 |
13 Aug 08 |
nicklas |
<!-- DO NOT CHANGE - user-manager is required to use BASE for authentiction --> |
741 |
13 Aug 08 |
nicklas |
77 |
<user-manager> |
741 |
13 Aug 08 |
nicklas |
78 |
<beans:bean class="net.sf.basedb.clients.ftp.BaseUserManager"/> |
741 |
13 Aug 08 |
nicklas |
79 |
</user-manager> |
741 |
13 Aug 08 |
nicklas |
80 |
|
741 |
13 Aug 08 |
nicklas |
<!-- DO NOT CHANGE - filesystem is required to access files in BASE --> |
741 |
13 Aug 08 |
nicklas |
82 |
<filesystem> |
915 |
11 Dec 08 |
nicklas |
83 |
<beans:bean class="net.sf.basedb.clients.ftp.BaseFileSystemFactory"/> |
741 |
13 Aug 08 |
nicklas |
84 |
</filesystem> |
741 |
13 Aug 08 |
nicklas |
85 |
</server> |