Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A32B210666 for ; Mon, 26 Aug 2013 15:01:59 +0000 (UTC) Received: (qmail 56316 invoked by uid 500); 26 Aug 2013 15:01:59 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 55883 invoked by uid 500); 26 Aug 2013 15:01:58 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 55868 invoked by uid 99); 26 Aug 2013 15:01:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 15:01:58 +0000 Date: Mon, 26 Aug 2013 15:01:58 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6669) doneFileName=${file:name} don't work with ftp component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750128#comment-13750128 ] Claus Ibsen commented on CAMEL-6669: ------------------------------------ Can you double check on your end, as we have unit test that test this use-cases org.apache.camel.component.file.remote.FtpProducerDoneFileNameTest > 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 > > 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