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 E40CF17641 for ; Tue, 17 Mar 2015 01:36:58 +0000 (UTC) Received: (qmail 58970 invoked by uid 500); 17 Mar 2015 01:36:58 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 58923 invoked by uid 500); 17 Mar 2015 01:36:58 -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 58904 invoked by uid 99); 17 Mar 2015 01:36:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 01:36:58 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 01:36:33 +0000 Received: by ieclw3 with SMTP id lw3so187165548iec.2 for ; Mon, 16 Mar 2015 18:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:content-transfer-encoding:content-disposition; bh=3NLe/5iI+dRszRropoLB0wp5IdXkx0wCMJ1pX6JzlvA=; b=mwquyDHAGzONRPyYLvQbOAn73Hc4qnuaUvQunNox/dWYmXgfC6qvMc+XgXAsN543tL oBjA/Koqp7rTmM01CBjgOgr5kpb8CgK7Qn/zRQwFn0fMTaisGK++DgqO8b/0gvH61hTJ 7Av+VImAqSNZcwTYm4JbTr0myrwOqRCPCK4yBx90ApWYkYBL94Nyec7FAPMOER/Y7Ebd LDCGayGzgaB6YMAOCxm0viOQZUVAAPYzIleevFUTxe8yPDuCE/02MPqFAJiRqiWWQVIy VckS7+ycNBqX41+YKr2wolUsXFyw91ZqJAINgaiB4uoYp5FJTcMVGP72AEotrvL+2aMZ JBtg== X-Received: by 10.107.167.3 with SMTP id q3mr114048908ioe.18.1426556191841; Mon, 16 Mar 2015 18:36:31 -0700 (PDT) Received: from localhost ([123.116.46.158]) by mx.google.com with ESMTPSA id ao5sm298350igc.3.2015.03.16.18.36.27 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Mar 2015 18:36:28 -0700 (PDT) Date: Tue, 17 Mar 2015 09:36:11 +0800 From: Willem Jiang To: users@camel.apache.org Message-ID: In-Reply-To: <1426511265617-5764223.post@n5.nabble.com> References: <1426511265617-5764223.post@n5.nabble.com> Subject: Re: Slow FTP X-Mailer: Airmail (249) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Can you try to setup the =46tpClient with a big buffer just like this =3F= from(=22ftp://foo=40myserver=3Fpassword=3Dsecret&ftpClient.bufferSize=3D1= 0000000=22).to(=22bean:foo=22); -- =20 Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang =20 Weibo: =E5=A7=9C=E5=AE=81willem On March 16, 2015 at 9:08:44 PM, ulsa (ulrik.sandberg=40jayway.com) wrote= : > One of the files on my =46TP server is =7E200MB. I'm using Camel =46TP = from an EC2 > instance (Ubuntu 14), and I get a connection reset error on that file a= fter > 25 minutes. However, when using command line ftp on the same machine, t= he > same file takes 38 seconds to download. I have set option > localWorkDirectory=3D/var/tmp/camel. Is there any other configuration t= rick > that I have missed=3F > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/Slow-=46= TP-tp5764223.html =20 > Sent from the Camel - Users mailing list archive at Nabble.com. > =20