Hi See the filter option and write a java bean that returns true|false if the file should be downloaded or not. http://camel.apache.org/file2
On Tue, Jun 24, 2014 at 11:07 AM, Benito <[email protected]> wrote: > Hello, > > I try to download some files with names like this: > aaaa_YYYYMMDD (with YYYYMMDD the name of the day) > > from(uriSFTP.concat("&exclude=${date:now:yyyyMMdd}")) > .to(local); > > But I don't want to donwload today's file. > I can't use ${date:now:yyyyMMdd} with exclude. > How to do? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/sftp-excluding-filename-with-date-tp5752734.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
