[
https://issues.apache.org/activemq/browse/CAMEL-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41959#action_41959
]
Claus Ibsen commented on CAMEL-420:
-----------------------------------
Does camel FTP support using the remote FTP filename to use as filename when
writing to a file if not configured to a fixed filename using the header propery
{code}
String fileUrl = "file:target/ftptest/?noop=true";
from(ftpUrl).setHeader(FileComponent.HEADER_FILE_NAME,
constant("deleteme.jpg")).
to(fileUrl, "mock:result");
{code}
Does it work with the setHeader? And use the remote filename from the FTP
Server?
> FTPConsumer asii filetypes does not use IOConverter toString out-of-the-box
> ---------------------------------------------------------------------------
>
> Key: CAMEL-420
> URL: https://issues.apache.org/activemq/browse/CAMEL-420
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.3.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 1.4.0
>
>
> See this forum:
> http://www.nabble.com/FTP-to-FILE-td16354813s22882.html
> As a workaround you have to use convertBodyTo(String.class) to let it work
> out of the box.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.