commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "luan xl" <helix_...@hotmail.com>
Subject [Net] slow ftp pasv connection
Date Wed, 07 Dec 2005 06:39:20 GMT
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


Mime
View raw message