aim is to download a file from ftp unix server to windows machine .
all relevant information is passed on to connect to remote ftp server.
dont see any file getting downloaded
please advice if any mistake .


{code}
port=22
host=ftpldn00
userId=intranet\sysftpgss
password=ftpaccess
LOC_DIR=C:\Ftp_test
REMOTE_DIR=/sysFTPGss/GssTest/Outgoing/DFC/



<bean id="ftpClientFtry" class="org.springframework.integration.ftp.session .DefaultFtpSessionFactory" >
<property name="host" value="${host}"/>
<property name="port" value="${port}"/>
<property name="username" value="${userId}"/>
<property name="password" value="${password}"/>
</bean>



<int-ftp:inbound-channel-adapter id="ftpInbnd"
channel="ftpChannel"
local-directory ="${LOC_DIR}"
remote-directory ="${REMOTE_DIR}"
filename-pattern="*.txt"
auto-create-local-directory="true"
session-factory="ftpClientFtry">
<int: poller fixed-rate="1000"/>
</int-ftp:inbound-channel-adapter>


<int:channel id="ftpChannel">
<int:queue />
</int:channel>

----------------------------------------

AbstractApplicationContext basiccontext = new ClassPathXmlApplicationContext("/reporting-context.xml", ReportStartUp.class);

PollableChannel ftpChannel = context.getBean("ftpChannel", PollableChannel.class);
Message<List<?>> fileList = (Message<List<?>>) ftpChannel.receive();
{code}