Hi ,

I don't thing you need to convert the string to file inorder  to put it in a 
remote sever. You just need to set the header for valid file name otherwise 
camel will create the file with the name as messageid

Sent from my iPhone

> On 26 Jun, 2014, at 4:42 am, eswar <easwaramoor...@gmail.com> wrote:
> 
> hi - 
> 
> I have a message with body content with string value of file name and
> directory in it. That I need to send to a different server using sftp
> component. I am sure we need to convert the message body to a File class to
> be able to send it using the sftp, do we need to scan through the file to
> convert this or is there an alternative to this ?please suggest.
> 
> 
> thanks
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/convertBody-To-SFTP-component-tp5752815.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to