Hi,
I am trying to get up and running with the very latest SFTP impl and I hope you can help me.
I am trying to run the SFTP inbound receive sample with the latest 2.0.0.RELEASE. The files are created in the specified local directory, however they are empty - they have a 0 byte file size.
I am running on Windows 7 64-bit, with JDK 1.6.0_22. I am using freeSSHd 1.2.4 as the SFTP server. Previously, I was using the RC2 release, and it ran no problem.
The context I am using is:
Is there something I am doing wrong?Code:<bean id="sftpSessionFactory" class="org.springframework.integration.sftp.session.DefaultSftpSessionFactory"> <property name="host" value="${sftp.host}"/> <property name="port" value="22"/> <property name="user" value="${sftp.username}"/> <property name="password" value="${sftp.password}"/> </bean> <sftp:inbound-channel-adapter id="sftpInboundAdapter" channel="receiveChannel" session-factory="sftpSessionFactory" local-directory="file:${sftp.buffer.directory}" remote-directory="." auto-create-local-directory="true" delete-remote-files="true" filename-regex=".*\.csv$"> <integration:poller fixed-rate="1000" max-messages-per-poll="1"/> </sftp:inbound-channel-adapter> <integration:channel id="receiveChannel"> <integration:queue/> </integration:channel>
Thanks for any help,
Graham.


Reply With Quote
oller fixed-rate="100" default="true" />