[ 
https://issues.apache.org/jira/browse/CAMEL-6669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751260#comment-13751260
 ] 

Steffen Bollweber commented on CAMEL-6669:
------------------------------------------

This problem also exists in the file component and it only occurs if I try to 
read the directory from a properties file. 

.to("file:{{temp-dir}}/out/?doneFileName=${file:name}.done&charset=utf-8")

Greetings Steffen
                
> doneFileName=${file:name} don't work with ftp component
> -------------------------------------------------------
>
>                 Key: CAMEL-6669
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6669
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.11.1
>            Reporter: Steffen Bollweber
>            Assignee: Claus Ibsen
>             Fix For: 2.12.0
>
>
> I tried to write a file on a ftp server using a done file to signal the end 
> of the file transmission. I guess the file/ftp component preserves the 
> doneFileName option. But the ftp component doesn't replace the 
> doneFileName=${file:name} correctly. 
> My fpt endpoint looks like this: 
> {code:java}
> .to(ftp:myuser@myserver/mypath?doneFileName=${file:name}.done&charset=utf-8&password={{ftp.passwd}})
> {code}
> But the route generates only a file with name {{name.done}}
> I also tried the option stepwise=false as described here 
> [http://camel.465427.n5.nabble.com/doneFileName-doesn-t-seem-to-work-td4704701.html].
>  With the same result.
> I also test this option with the file component and it works. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to