Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 20594 invoked from network); 12 Apr 2006 21:05:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Apr 2006 21:05:55 -0000 Received: (qmail 8163 invoked by uid 500); 12 Apr 2006 21:05:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 7616 invoked by uid 500); 12 Apr 2006 21:05:46 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 7603 invoked by uid 99); 12 Apr 2006 21:05:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Apr 2006 14:05:46 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.201.211] (HELO web33714.mail.mud.yahoo.com) (68.142.201.211) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 12 Apr 2006 14:05:45 -0700 Received: (qmail 9515 invoked by uid 60001); 12 Apr 2006 21:05:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d2aePNbYUBZiS2omYIABdsX5Z0tRolhXDC+qKm2sIno+WbhWPAMOGINkszpEi508NvzsN8pmL60uViI5v8Ries0vSyx04WQ9dIFhDBTt4lJK+JNulhWXm9SI61ydhJpOv7bQy+IR4WQRjhlLTycxv6qYgzIAHcCHEEaeaoZCTAE= ; Message-ID: <20060412210524.9513.qmail@web33714.mail.mud.yahoo.com> Received: from [69.224.98.180] by web33714.mail.mud.yahoo.com via HTTP; Wed, 12 Apr 2006 14:05:24 PDT Date: Wed, 12 Apr 2006 14:05:24 -0700 (PDT) From: ilango Subject: Re: Help with ftp To: Ant Users List Cc: rakesh.mailgroups@gmail.com In-Reply-To: <443D4061.6030407@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-815438625-1144875924=:8578" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-815438625-1144875924=:8578 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi Rakesh I would very much appreciate it if you could post the configuration details. And could you also explan the scenario under which you deployed this ftp. Did you use it as part of some Java application? For example I have an application running in a box which I call the colocator. This application keeps grabbing videos, and then automatically FTPs these to another box on the network.. thanks a lot ilango Rakesh Patel wrote: Hi guys, you are not going to believe this! At the moment my war file is 5mb that i wish to ftp to the server. Using the recommended library (Common-net) the upload took almost a minute. This is quite poor. My colleague then told me he can transfer the file using Absolute FTP (a free windows gui client) in less time. Luckily the program is bundled with an exe for command line usage and so i hooked it up to Ant with the exec task. That took 30 seconds to do the transfer. Then i tried the bog-standard Windows ftp client - 13 SECONDS!!!! So thats what i'm going with. It was a bit tricky setting it up as the docs are poor. If anyone wants to see my config let me know and i'll post it here. Very disappointed at the java ftp library. Cheers Rakesh Michael Giroux wrote: >FWIW, I had very similar problems using the Eclipse FTP plugin which also >uses commons-net. Looking at the traces I discovered that the package seems >to do a lot of extra commands to set working directory, and list the >directory. > >You might try watching the traffic using a TCP Monitor (there is one in the >apache axis distribution) or a net sniffer to see if you are having similar >issues. > >Michael Giroux > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2�/min with Yahoo! Messenger with Voice. --0-815438625-1144875924=:8578--