camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bsoto <bs...@sysretail.cl>
Subject FTP fileName date:now: not working
Date Wed, 24 Feb 2016 12:36:50 GMT
Hello,

I'm using FTP component and I am setting the fileName by a date expression
"${date:now:yyyyMMdd}.txt", it's suppose it will create a file with the name
"20160224.txt", but the finale name is "now:yyyyMMdd.txt".

This is what I'm using

<to
uri="ftp://{{ftp.usuario}}@{{ftp.servidor}}:{{ftp.puerto}}/aid/respuesta?fileName=${date:now:yyyyMMdd}.txt&amp;password={{ftp.clave}}"
/>

With File component this work perfectly, but with FTP the name go to hell,
any idea?

I am using 
Camel 2.16.1
Spring 4.1.6

Thanks in advance! 



--
View this message in context: http://camel.465427.n5.nabble.com/FTP-fileName-date-now-not-working-tp5778195.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message