My 2 cents is that it's a worthwhile option to have, many FTP servers would close the connection on you after a timeout anyway.
On Thu, Jan 21, 2010 at 4:02 PM, Christian Müller <[email protected]> wrote: > Hey Gunnar, > > you are right. At present, we disconnect only after a failed write/upload > from the server. Currently you have no choice to configure a session > disconnect after a write. > > @Claus: Should Gunnar open a JIRA ticket for that or won't we change this? > > Regards, > Christian > > On Thu, Jan 21, 2010 at 6:46 PM, Gunnar Hillert <[email protected]> wrote: > >> Hi, >> >> I am creating a simple flow uploading files using FTP and FTPs. >> >> Here is the process definition: >> >> I drop a file in a folder, Camel picks it up and uploads it to the server. >> Everything works perfectly. >> >> My problem is that I would like to disconnect from the FTP server >> (terminate session) every time a file is uploaded. It seems though that the >> connection to the FTP server is kept open. Thus, if I drop a new file into >> my monitored folder the same FTP session is reused. I would like that not to >> happen. >> >> How can I configure my camel process to disconnect from the FTP Server? I >> did not find any information on this. >> >> Thanks a lot for your help! >> >> Regards >> >> Gunnar >> >
