On Thu, Dec 16, 2010 at 12:49 PM, mikaelfj <mikae...@gmail.com> wrote:
>
> 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?
>

Could you create a ticket in JIRA. And link to this discussion using a
link from eg. nabble.

Also you are welcome to dig in and see if you can provide a patch.


> 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.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to