On Jan 31, 2008, at 6:31 AM, borgel wrote:

The first set of files that are copied into the directory are all uploaded to the ftp server, but an error is logged for each file: "ERROR [FileConsumer]
- Could not rename file from:xx to .camel/xx"
No files are copied into the .camel directory, but instead a .camelLock file
is created for each file.

When i then tries to copy new files into the directory nothing happens. It's
like Camel is disabled after receiving the error.

I have tested using CrossFtpServer
(http://sourceforge.net/projects/crossftpserver/) on Windows.

--Børge.

OK, I see what the problem is. Windows picks up an exclusive lock on the files, so they can't be renamed. You can see this if you try manually moving the files from the command-line.

I don't have time to kick out a patch right now, unfortunately. For the moment, if you know some way to set the file modified times to the present when you move/copy them into c:\temp\camel, from("file:c:\\temp \\camel?noop=true") should get you by.

- aaron

Reply via email to