mdo wrote
> from: sftp://localhost//home/user/
> to: file://tmp/

exchange.in.headers has the header "CamelFileName" where an SFTP consumed
file has the complete path including the endpoint path whereas a file that
comes from a FILE endpoint only has the relative path.

When I insert this statement into my route I can fix this:
.setHeader("CamelFileName",header("CamelFileRelativePath"))

Is this meant to be that way?

Regards, mdo.





--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP2-SFTP-and-target-file-paths-tp5731220p5731265.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to