On Wed, Feb 10, 2010 at 3:50 PM, mcrive <[email protected]> wrote:
>
> Hi,
> I have a question about file language
>
> say I have following endpoint
>
> ftp://u...@host?password=pwd&fileName=foldername/filename.extension&tempFileName=${file:name.noext}.tmp
>
> the temp file name which will be used is: foldername/filename.tmp
>
> if I change tempFileName to
> tempFileName=${file:onlyname.noext}.tmp
>
> I am expecting temp file name to be: filename.tmp
>
> but the FTP component is writing it to foldername/filename.tmp
>
> is it supposed to be so or am I doing something wrong?

You can add ../ if you want it to be written in parent folder.

> --
> View this message in context: 
> http://old.nabble.com/file-language-question-tp27532326p27532326.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to