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 2340C1090C for ; Tue, 18 Jun 2013 06:02:17 +0000 (UTC) Received: (qmail 59171 invoked by uid 500); 18 Jun 2013 06:02:16 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 59075 invoked by uid 500); 18 Jun 2013 06:02:08 -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 59047 invoked by uid 99); 18 Jun 2013 06:02:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 06:02:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: encountered temporary error during SPF processing of domain of rsinha2889@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 06:02:00 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Uooym-00051S-59 for users@camel.apache.org; Mon, 17 Jun 2013 23:01:20 -0700 Date: Mon, 17 Jun 2013 23:01:20 -0700 (PDT) From: Richa To: users@camel.apache.org Message-ID: <1371535280107-5734270.post@n5.nabble.com> Subject: Exception when using FTP as endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have two camel routes. The first camel route takes input from JMS and sends to FTP location. Also, the first rotue sends that file to a seda location. This seda location is the input for the second route which again processes the file and sends it to the same FTP location. But when I run this route I get the following exception: *Writing file failed with: File operation failed: 530 Login authentication failed* My two routes look like this: from(fromLocation) .marshal().gzip() .to(toLocation) .to("seda:BillingSedaLocation"+routeId); from("seda:BillingSedaLocation"+routeId) .unmarshal().gzip() .process(new SomeProcessor()) .to(toLocation); The fromLocation is a jmsQueue and the toLocation is a FTP endpoint. -- View this message in context: http://camel.465427.n5.nabble.com/Exception-when-using-FTP-as-endpoint-tp5734270.html Sent from the Camel - Users mailing list archive at Nabble.com.