Hi There is a SFTP component with Camel? Can you just use that? As it can scan directories for files, and download the files. http://camel.apache.org/ftp2
On Fri, Nov 25, 2011 at 9:38 AM, diwakar <diwakar.j...@nsn.com> wrote: > Hi, > > We need to execute "ls" on one of the servers and then > retrieve few files with SFTP. Exec is an option, but the process is about > 1Gb in size and doing too many forks (with Runtim.exec())is not a good idea. > > With Best Regards, > Diwakar > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Component-for-SSH-CLI-tp5019772p5022216.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/