Hello,
I am using the SFTP component and I want to change the file name when it is
placed on the remote server. Basically I would like it to behave like:
from(file:/tmp/input.txt).
to("sftp:/........./directory/output.txt)
I tried to manipulate the header using.
setHeader("output.txt", "org.apache.camel.file.name")
but, camel is not recognizing any changes. It still sets the file name on
the remote server as input.txt. How can I change this?
Thanks!
--
View this message in context:
http://old.nabble.com/Change-output-file-name-in-SFTP-route-tp26204026p26204026.html
Sent from the Camel - Users mailing list archive at Nabble.com.