apache ftpserver 被动模式配置

濮景龙
2023-12-01
<?xml version="1.0" encoding="UTF-8"?>	
<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="myServer">
	<listeners>
		<nio-listener name="default" port="21">
			<data-connection idle-timeout="60">
				<passive ports="1100-1200" />
			</data-connection>
		</nio-listener>
	</listeners>	
	<file-user-manager file="./res/conf/users.properties" encrypt-passwords="false" />
</server>

 

 类似资料: