camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bengt Rodehav <be...@rodehav.com>
Subject Re: how to specify remote file name when using FTP endpoint
Date Thu, 10 May 2012 09:23:50 GMT
I do this in Camel 2.7.1 and it definitely changes the name of the file
before ftp:ing:

*theExchange.getIn().setHeader(Exchange.FILE_NAME, "newfilename");*

Hope that helps,

/Bengt

2012/5/10 qwerty5000 <yuki.tanabe@barclays.com>

> Thanks guys, but the solution you suggested would rename the files after
> the
> ftp step so doesn't work.
>
> Anyway to retain the original file name? This is necessary as I need to
> perform some local processing after the file has been ftpd, and I need to
> use the file name as some sort of an uid.
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/how-to-specify-remote-file-name-when-using-FTP-endpoint-tp5697227p5699472.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message