You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2012/09/03 09:08:05 UTC

Re: Camel FTP component: Append a sequence number if the filename already exists

Hi

I created a ticket to track this request
https://issues.apache.org/jira/browse/CAMEL-5558



On Fri, Aug 31, 2012 at 1:52 PM, Claus Ibsen <cl...@gmail.com> wrote:
> On Fri, Aug 31, 2012 at 1:28 PM, domenique
> <Do...@dti-consulting.be> wrote:
>> Hi,
>>
>> I'm using ServiceMix 4.4.2 with Camel 2.8.5 and I'm searching if it's
>> possible to have the FTP component add a sequence number to a file if it
>> already exists on the remote location.
>>
>> So if I have an FTP directory containing :
>> file.txt
>> fileA.txt
>>
>> and I want to write file.txt to this directory, it should write file-1.txt.
>> ofcourse, if file-1.txt also exists, it should write file-2.txt and so on.
>>
>> Is there any way to do this using camel-ftp ?
>>
>
> No
>
> But there is a new move existing option, that can move/renamed the
> existing file.
> This requires Camel 2.10.1 though.
>
>
>
>> Krgds
>> Doménique
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-component-Append-a-sequence-number-if-the-filename-already-exists-tp5718469.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



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

Re: Camel FTP component: Append a sequence number if the filename already exists

Posted by domenique <Do...@dti-consulting.be>.
Hi,

Thx! I've voted for the issue and put a watch on it. Looking forward for
this feature!



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-FTP-component-Append-a-sequence-number-if-the-filename-already-exists-tp5718469p5718528.html
Sent from the Camel - Users mailing list archive at Nabble.com.