I have done some more testing on a machine where I am in more control over the File permissions and it don't seem that the permissions are the problem. When my route goes from File to file it works perfect. The files that are moved is also copied to the .camel directory. When I change the route to go from File to ftp the trouble starts. A file with the same name as the original file with a .cameLock extension is created. This file is never removed and no files are copied to the .camel directory. The first file that is placed in the from directory is uploaded to the ftp server, but subsequent files are not.
I belive there is something mysterious with the combination file + ftp + windows. James.Strachan wrote: > > On 22/01/2008, Christian Schneider <[EMAIL PROTECTED]> wrote: >> >> I had the same problem when I worked with the file component alone. It >> always >> happened when I copied a file to the input directory that already existed >> in >> the .camel directory. > > Aha! That could be it - thanks! :) > > We should test if the destination file exists and delete it first > before the move. I've raised a JIRA to track this one... > https://issues.apache.org/activemq/browse/CAMEL-307 > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/From-file-to-ftp-tp14921828s22882p15170972.html Sent from the Camel - Users mailing list archive at Nabble.com.
