Using noop=true and download=false can be used to check if if a file exists.
And you can set fastExistsCheck=true, and stepwise=false to scan much less. On Sat, Nov 8, 2014 at 8:51 AM, erik_romson <e...@zenior.no> wrote: > Thanks for a quick reply. > > I'm sorry but you have to spell it out to me, do you refer to the > IdempotentRepository way of doing it? I was aware of that but option (I have > been testing it with the filecomponent) but still, having to scan the entire > ftprepo seems a bit excessive. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/how-to-check-that-a-file-exists-in-ftpserver-tp5758705p5758747.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/