SFTP hangs after a day or two

2010-07-02 Thread Pitre, Russell
Hello- I'm using Camel 2.2 SFTP component like so: from(sftp://u...@ftpserver:22/OUTBOUND?delay=6&delete=true&localWork Directory=3050-b\\Intranet\\adp\\employee\\tmp&password=secret) .routeId("sftp") .log("Moving file ${file:name} to localWorkDirec

Re: SFTP hangs after a day or two

2010-07-02 Thread Claus Ibsen
Hi Camel 2.4 has better re-connect logic with the FTP components. So wait for that release. And yeah use the disconnect if you are not constantly polling from the remote FTP server. Then its a better chance the FTPClient is capable of connecting when you need to poll. On Fri, Jul 2, 2010 at 5:

RE: SFTP hangs after a day or two

2010-07-05 Thread Pitre, Russell
Hi Adding the "disconnect=true" option to the sftp uri seems to have solved my issue. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Friday, July 02, 2010 12:42 PM To: users@camel.apache.org Subject: Re: SFTP hangs after a day or two Hi Cam