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.


Aaron Crickenberger wrote:
> 
> On Jan 29, 2008, at 5:26 PM, borgel wrote:
> 
>> 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.
> 
> Just to clarify, you're saying the first file makes it over to the FTP  
> server in is entirety, but then others do not?  Is the FTP Server also  
> running on windows, or some other OS?
> 
> - aaron
> 
> 

-- 
View this message in context: 
http://www.nabble.com/From-file-to-ftp-tp14921828s22882p15202803.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to