You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by piyushbhatt <bh...@gmail.com> on 2012/09/04 16:43:13 UTC

Can done file be also sent to the same location in Camel FTP

Hi,

We have a requirement of pushing a file and its done file to an FTP location
as the other system also looks after the done file. This done file actually
contains some data about the main file so its not an empty done file

Is it possible using Camel FTP

Regards
Piyush



--
View this message in context: http://camel.465427.n5.nabble.com/Can-done-file-be-also-sent-to-the-same-location-in-Camel-FTP-tp5718613.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Can done file be also sent to the same location in Camel FTP

Posted by Claus Ibsen <cl...@gmail.com>.
On Tue, Sep 4, 2012 at 4:43 PM, piyushbhatt <bh...@gmail.com> wrote:
> Hi,
>
> We have a requirement of pushing a file and its done file to an FTP location
> as the other system also looks after the done file. This done file actually
> contains some data about the main file so its not an empty done file
>
> Is it possible using Camel FTP
>

You can just write a 2nd file after the 1st file, where the 2nd file
is "your done" file.
And if you use a Camel route, then you would need to transform the
message to contain what the done file should contain.

from X
   to ftp
   transform to done file
   to ftp as done file


> Regards
> Piyush
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Can-done-file-be-also-sent-to-the-same-location-in-Camel-FTP-tp5718613.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