<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:int="http://www.springframework.org/schema/integration"
	xmlns:int-ftp="http://www.springframework.org/schema/integration/ftp"
	xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd
		http://www.springframework.org/schema/integration/ftp https://www.springframework.org/schema/integration/ftp/spring-integration-ftp.xsd">

	<bean id="ftpSessionFactory" class="org.springframework.integration.ftp.session.DefaultFtpSessionFactory">
		<property name="host" value="192.168.28.143"/>
		<property name="username" value="user"/>
		<property name="password" value="password"/>
		<property name="bufferSize" value="1000000"/>
	</bean>
	
	<int:channel id="ftpChannel"/>

	<int-ftp:outbound-channel-adapter 
				auto-create-directory="true"
				session-factory="ftpSessionFactory" 
				remote-directory="./dsf/sdfsfs/sdffs"
				channel="ftpChannel"/>	
</beans>
