Hi, I have the following Camel route:
<endpoint id="sftpImport" uri="sftp://${import.user}@${import.host}:${import.port}/${import.path}?binary=true&localWorkDirectory=../temp"/> <route id="import"> <from uri="quartz://ImportTimer?cron=0+0+15+?+*+MON-FRI"/> <pollEnrich ref="sftpImport" timeout="-1"/> <log message="SFTP processed. Body: ${body}" loggingLevel="INFO"/> <to uri="file://../import"/> <log message="Files transfered. Body: ${body}" loggingLevel="INFO"/> </route> So, the route takes a bunch of files from external FTP and put them in a local folder. It uses localWorkDir to store files temporary. Files are huge so it takes some time to transfer them. The issue I have: only the first file placed to the /import folder properly. All other files left in /temp directory. How can I solve this issue? Thanks, Denis. -- View this message in context: http://camel.465427.n5.nabble.com/An-issue-with-SFTP-component-tp5722274.html Sent from the Camel - Users mailing list archive at Nabble.com.
