You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Himanshu Mittal <hi...@gmail.com> on 2017/03/23 05:34:47 UTC

Re: camel route with camel version 2.16.0 is polling directory, but not readingany files from sftp location. the same code works fine using the camel version 2.15.3

I assume that issue would have been resolved now. In case it is not
change your source uri 
from :
from("sftp://hostname/home/mydir/xmls?username=username&password=password")

to:
from("sftp://hostname/<relative_path_from_sftp_user_home_directory>/xmls?username=username&password=password")

Suppose user login directory is: home/mydir/
and Polling directory is : /home/mydir/xmls
Then your uri should be 
from("sftp://hostname/xmls?username=username&password=password")  OR
from("sftp://hostname/../../home/mydir/xmls?username=username&password=password")






--
View this message in context: http://camel.465427.n5.nabble.com/camel-route-with-camel-version-2-16-0-is-polling-directory-but-not-readingany-files-from-sftp-locati3-tp5781617p5795992.html
Sent from the Camel - Users mailing list archive at Nabble.com.