commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leo Sutic <leo.su...@inspireinfrastructure.com>
Subject Re: [Net] slow ftp pasv connection
Date Wed, 07 Dec 2005 08:12:38 GMT
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


Mime
View raw message