Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 23292 invoked from network); 22 Apr 2009 19:02:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 19:02:02 -0000 Received: (qmail 66727 invoked by uid 500); 22 Apr 2009 19:02:00 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 66643 invoked by uid 500); 22 Apr 2009 19:02:00 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 66633 invoked by uid 99); 22 Apr 2009 19:02:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 19:02:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cloudboy@comcast.net designates 76.96.30.56 as permitted sender) Received: from [76.96.30.56] (HELO QMTA06.emeryville.ca.mail.comcast.net) (76.96.30.56) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 19:01:50 +0000 Received: from OMTA04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by QMTA06.emeryville.ca.mail.comcast.net with comcast id ibmU1b0040lTkoCA6j1VCD; Wed, 22 Apr 2009 19:01:29 +0000 Received: from sz0051.ev.mail.comcast.net ([76.96.26.103]) by OMTA04.emeryville.ca.mail.comcast.net with comcast id ij1V1b0082DUExG8Qj1VD0; Wed, 22 Apr 2009 19:01:29 +0000 Date: Wed, 22 Apr 2009 19:01:29 +0000 (UTC) From: cloudboy@comcast.net To: user@commons.apache.org Message-ID: <1156358475.4602111240426889208.JavaMail.root@sz0051a.emeryville.ca.mail.comcast.net> Subject: [commons-net] FTPClient setReceiveBufferSize() setSendBufferSize() MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_229237_1262212163.1240426889207" X-Originating-IP: [134.253.26.4] X-Mailer: Zimbra 5.0.11_GA_2730.RHEL5_64 (ZimbraWebClient - FF3.0 (Win)/5.0.11_GA_2730.RHEL5_64) X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_229237_1262212163.1240426889207 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I have an ftp connection that would greatly benefit from having very large TCP/IP window sizes (1MB). I'm having trouble figuring out how to implement this using the standard FTPClient. What's the intended usage of setReceiveBufferSize() and setSendBufferSize(), which are inherited from the SocketClient? >From what I understand, setReceiveBufferSize() must be set prior to binding to the socket? However, if these methods are called prior to FTPClient.connect(), then this socket object isn't initialized. After FTPClient.connect(), is it too late? Any insight into configuring the FTPClient to configure these window sizes is greatly appreciated. Thanks, Phil ------=_Part_229237_1262212163.1240426889207--