see  http://camel.apache.org/ftp2.html camel-ftp 

basically do this would process each file separately...

from("ftp://foo@myserver?password=secret&ftpClient.dataTimeout=30000";)
.process(new MyProcessor());

or this to process them in batches...see 
http://camel.apache.org/aggregator2.html aggregator  for details on
groupExchanges, etc...

from("ftp://foo@myserver?password=secret&ftpClient.dataTimeout=30000";)
.aggregate(constant(true)).groupExchanges().completionFromBatchConsumer()
.process(new MyProcessor());


fachhoch wrote:
> 
> I want to check a folder  in a  remote server  using ftp  and if it has
> any files    call my processor  with the files passed  to my processor so
> that I can read them.Please suggest me how .
> 


-----
Ben O'Day
IT Consultant -http://consulting-notes.com

--
View this message in context: 
http://camel.465427.n5.nabble.com/check-remote-folder-using-ftp-tp4473453p4474487.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to