commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "luan xl" <helix_...@hotmail.com>
Subject Re: [Net] slow ftp pasv connection
Date Wed, 07 Dec 2005 10:44:22 GMT
no, I use the ip address directly, both server and clients are in a 100mbit 
LAN.


>From: Leo Sutic <leo.sutic@inspireinfrastructure.com>
>Reply-To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
>To: Jakarta Commons Users List <commons-user@jakarta.apache.org>
>Subject: Re: [Net] slow ftp pasv connection
>Date: Wed, 7 Dec 2005 09:12:38 +0100
>
>Could be related to nameserver lookups. When you connect to the FTP
>server, does it have both forward (name -> ip) and reverse (ip ->
>name) dns entries?
>
>/LS
>
>On 12/7/05, luan xl <helix_ogg@hotmail.com> wrote:
> > Hi, I hava just written some code to traverse the ftp site using the
> > commons-net 1.4.
> > I tested it on Windows(XP SP2) and Linux(Debian 3.0), they both work
> > correctly. But one
> > thing just make me confused.
> >
> > On my Windows platform, when I issue the command LIST in passive mode, 
the
> > data
> > connection is very slow to make, usually takes 5 to 10 seconds.However 
if I
> > issue
> > the command LIST in port mode, the connection is made very quickly. On 
the
> > Linux
> > platform, both passive and port are very quickly.
> >
> > On both platform firewalls are closed, the ftp server is same for 
tests.
> > what is the
> > possible cause for this?
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-user-help@jakarta.apache.org
> >
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message