Hi

What version of Camel are you using?

In Camel 2.0 there is a tempPrefix option that allows you to write the
file using a temporary prefix.
You could then use a tempPrefix as: childFolder/

And have the / at the end to denote a child folder.

What we also could do in the future is to allow this tempPrefix to be
an expression as well so you can use the ${ } placeholders and
whatnot.
I will create a ticket for that.


On Thu, Oct 1, 2009 at 11:46 AM, aptesameer <aptesam...@gmail.com> wrote:
>
> Hi,
>
> I am trying to create a file on a FTP directory using camel(<to
> ref="ftpendpointref"/>). Though it is a standard bit, given the way - I need
> to do it, I am not getting any solution.
>
> There is a directory called 'PARENT' which would be polled continuously by
> other party. So I am expected to create a file into 'PARENT/CHILD' directory
> and move it to 'PARENT', once the file writing is done.
>
> As per the camel docs  options like 'move' can only be used while consuming
> from FTP. Is there any way by which I can specify that the file should be
> moved to parent directory, once the creation is complete?
>
> Any help would be greatly appreciated!
>
>
> Regards,
> Sameer
> --
> View this message in context: 
> http://www.nabble.com/FTP-File-Move-opeartion-post-creation-tp25695814p25695814.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to