Just tried with 2.4 and 2.5 - they both seem to have the same problem as 2.2.

At the second upload of the file to the FTP server, they throw this
exception:

org.apache.camel.component.file.GenericFileOperationFailedException,
message:Cannot rename file from: rename/.uploadingTest.REN to:
rename/Test.REN

I.e. having fileExists=override and tempPrefix=.uploading conflicts as the
rename of the tempPrefix'ed file fails and thus do not deliver the
"override" semantics - which should have provided that the file
rename/Test.REN was replaced with the new Test.REN.

Is this in the pipeline for 2.6?

Regards
Mikael
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-renaming-existing-file-in-FTP-tp3307670p3307802.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to