Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9BF517D6E for ; Wed, 9 Sep 2015 15:54:03 +0000 (UTC) Received: (qmail 57794 invoked by uid 500); 9 Sep 2015 15:54:03 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 57750 invoked by uid 500); 9 Sep 2015 15:54:02 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 57734 invoked by uid 99); 9 Sep 2015 15:54:02 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2015 15:54:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 211DC180425 for ; Wed, 9 Sep 2015 15:54:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.997 X-Spam-Level: ** X-Spam-Status: No, score=2.997 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 8D0qONT_C4cM for ; Wed, 9 Sep 2015 15:54:00 +0000 (UTC) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0130.outbound.protection.outlook.com [157.55.234.130]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 97CD2201FB for ; Wed, 9 Sep 2015 15:53:59 +0000 (UTC) Received: from AM3PR03MB564.eurprd03.prod.outlook.com (10.242.111.155) by AM3PR03MB563.eurprd03.prod.outlook.com (10.242.111.154) with Microsoft SMTP Server (TLS) id 15.1.262.15; Wed, 9 Sep 2015 15:53:51 +0000 Received: from AM3PR03MB564.eurprd03.prod.outlook.com ([10.242.111.155]) by AM3PR03MB564.eurprd03.prod.outlook.com ([10.242.111.155]) with mapi id 15.01.0262.011; Wed, 9 Sep 2015 15:53:51 +0000 From: Gustav Sinder To: "users@camel.apache.org" Subject: Absolute path when moving done/error files on FTP server Thread-Topic: Absolute path when moving done/error files on FTP server Thread-Index: AdDrF7nRVxEJOqdxQN66kFRJ9tyRqA== Date: Wed, 9 Sep 2015 15:53:51 +0000 Message-ID: Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=gustav.sinder@ferrologic.se; x-originating-ip: [78.72.237.145] x-microsoft-exchange-diagnostics: 1;AM3PR03MB563;5:ZGW3g7hgNDXTnJ3qwqbo1GeReC2MaeFiVVgkR7WUUhY0m1BY2B690W4XY4dYStTXVV8Tlma/QLdPVQNXsw2kkxyIbMB0DgnEatfbA5aiDXxlySnrteytvNPTIkrZ1RWV/IHeXrZ3Q91f+B40LfFq5g==;24:nJ0QiiV00EFJS9paBeBN0B3rzdULaDCjJXrW5V3RFU/nM5F+EcjP4gpaKGYOfZ+Ueu0Z2BxsiApRkpkC5Sf6+dcG7xoNZpXYzbYZjElgxWA=;20:F9qlejw/J2Cn+vU5xIm1/OztrMU6cTpAIp7XKLTw8JF8pUDgwaGXlREoz0hbgf9mS4Zi38qZrLxqTpp7rx4E/g== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR03MB563; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(108003899814671); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(8121501046)(3002001);SRVR:AM3PR03MB563;BCL:0;PCL:0;RULEID:;SRVR:AM3PR03MB563; x-forefront-prvs: 0694C54398 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(199003)(189002)(54356999)(19300405004)(19580395003)(66066001)(19580405001)(122556002)(5002640100001)(46102003)(64706001)(551544002)(81156007)(2501003)(2351001)(10400500002)(33656002)(4001540100001)(87936001)(19625215002)(16236675004)(97736004)(5003600100002)(76576001)(86362001)(450100001)(68736005)(5007970100001)(107886002)(74482002)(74316001)(15975445007)(229853001)(101416001)(40100003)(92566002)(62966003)(106356001)(5001960100002)(2900100001)(50986999)(105586002)(5001830100001)(77096005)(110136002)(5001860100001)(77156002)(189998001)(11100500001)(102836002)(5004730100002);DIR:OUT;SFP:1102;SCL:1;SRVR:AM3PR03MB563;H:AM3PR03MB564.eurprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: ferrologic.se does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM3PR03MB564A06F23EFFB2977C27DF9EB520AM3PR03MB564eurprd_" MIME-Version: 1.0 X-OriginatorOrg: ferrologic.se X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Sep 2015 15:53:51.5189 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5bb5ffa2-f04d-4264-aebc-160c778979cd X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR03MB563 --_000_AM3PR03MB564A06F23EFFB2977C27DF9EB520AM3PR03MB564eurprd_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I've got an issue with the ftp2/file2 component when fetc= hing files from a remote FTP server and trying to move the handled files to= a done subfolder. Camel reports: org.apache.camel.component.file.GenericFileOperationFailedEx= ception: File operation failed: Connection closed without indication.. Cod= e: 350 The network guy on the other end reports that the FTP commands look strange= and after a tcpdump inspection they sure do. The endpoint is configured as follows: ftp://user@host?password=3Dpassword\&passiveMode=3Dtrue\&consumer.delay=3D6= 0000\&move=3Ddone\&moveFailed=3Derror\&charset=3Dutf-16\&include=3DMyFile\.= .*\.csv My tcpdump inspection shows that Camel issues these commands when trying to= move the file: "Request: RNFR MyFile.csv" "Request: RNTO //done/MyFile.csv" Why do the component add the double slashes to the path that should be rela= tive? Can I change my endpoint to change the behavior? Tried using a ./done path instead but that gave: "Request: RNTO //./done/My= File.csv" Thanks /Gustav --_000_AM3PR03MB564A06F23EFFB2977C27DF9EB520AM3PR03MB564eurprd_--