Hi,

I am newbie to Apache Camel. I am trying to transfer a file from file(camel
component) to sftp(camel component). But when I transfer a file(AMSTest.txt)
from source (as it polls the source) and transferred to destination(sftp
directory). But when a same file comes in the source for the second time
then it does not transfer the file it.

It transfers if I restart the application server(in my case i am using jetty
server).

my source endpoint is :
file:data/inbox?include=AMS.*.txt&delay=1000&idempotent=true&delete=true

my destination endpoint is :
sftp://test:test@localhost:22/sam/?stepwise=false&fileExist=Move&moveExisting=true

Can anyone give me idea regarding how to accomplish this task?

Thanks in Advance.

Regards,
Surya. 



--
View this message in context: 
http://camel.465427.n5.nabble.com/sftp-file-exists-tp5751658.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to