Thanks Babak, I am trying to activate a process chain only if certain file in on the remote sftp. Probably you or another reader can help with some errors I am getting.
If I use wrong credentials Camel tries to reconnect several times not obeying to maximumReconnectAttempts=0: <code> .from("sftp://sample.com/home/user/test?username=user&password=wrongPass&fastExistsCheck=true&maximumReconnectAttempts=0") </code If I use good credentials and a typical home path like above it complaints "Cannot change directory to: home" so I am forced to use a double slash <code> .from("sftp://sample.com//home/user/test?username=user&password=pass&fastExistsCheck=true") </code But then with the above I get: <quote> Can't change directory: /home/krfsadmin/test If I use option "directory=false" which is not in the ftp2 documentation but in the ftp dcumentation: then I get: Cannot change directory to: false Best, -Nestor -- View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-SFTP-check-instead-of-download-tp5713363p5713432.html Sent from the Camel - Users mailing list archive at Nabble.com.