Dear Tamilvanan

I could not really get it work. But I appreciate if you can point me where I am 
going wrong here 

I use the following route,

from("file:////<user@remote_host>//tmp?fileName=input.txt")
.to("file:///tmp")


But, I could not see the transfer happening here.  I ensured passwordless ssh 
between local and remote host.


With regards
Bala


-----Original Message-----
From: tamil13 [mailto:tamilvanan...@gmail.com] 
Sent: 29 January 2013 19:28
To: users@camel.apache.org
Subject: Re: Files from remote host

To transfer file from remote system, you no need to use ftp component. you
can simply use file component. It does work for me. but you gotta give
from(file:////<remote host>//etc<file:////&lt;remote%20host>//etc>") 

For remote host, you need to add //// prior instead of //.
For remote folder, you need to add // prior instead of /.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Files-from-remote-host-tp5726459p5726488.html
Sent from the Camel - Users mailing list archive at Nabble.com.

This mail has originated outside your organization, either from an external 
partner or the Global Internet.
Keep this in mind if you answer this message.



The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.

Reply via email to