Below I'm attaching log files when using 2 simultaneous clients transferring a total of 6 files, both for the case of using passive mode and active mode. Looking at the time stamps from the first STOR command until the end, the passive mode takes about 1:46 minutes while the active mode takes only 1:08 minutes. When running with a single connection, both modes take the same amount of 1:46 minutes. When using more than 2 connections, only the time for the active mode decreases while it is impossible to speed up the transfer time for the passive mode. I've run similar experiments with other servers with the same results.
PASSIVE MODE:
======================
DEBUG [FTPClient] 19 Apr 2012 11:19:30.344 : Class: com.enterprisedt.net.ftp.FTPClient
Location: file:/C:/Users/Curious/Documents/Iconiq%20Studios/Software/Iconiq%20Tagger/ftp%20passive/lib/edtftpj.jar
Version: 2.3.0
Build timestamp: 26-Aug-2011 13:52:07 EST
Java version: 1.6.0_26
CLASSPATH: C:\Users\Curious\Documents\Iconiq Studios\Software\Iconiq Tagger\ftp passive\Iconiq_Tagger.jar
OS name: Windows Vista
OS arch: x86
OS version: 6.0
DEBUG [FTPClient] 19 Apr 2012 11:19:30.347 : Class: com.enterprisedt.net.ftp.FTPClient
Location: file:/C:/Users/Curious/Documents/Iconiq%20Studios/Software/Iconiq%20Tagger/ftp%20passive/lib/edtftpj.jar
Version: 2.3.0
Build timestamp: 26-Aug-2011 13:52:07 EST
Java version: 1.6.0_26
CLASSPATH: C:\Users\Curious\Documents\Iconiq Studios\Software\Iconiq Tagger\ftp passive\Iconiq_Tagger.jar
OS name: Windows Vista
OS arch: x86
OS version: 6.0
DEBUG [FileTransferClient] 19 Apr 2012 11:19:52.248 : Configured client
DEBUG [FTPClient] 19 Apr 2012 11:19:52.248 : Connecting to /63.225.118.8:21
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.501 : 220-FileZilla Server version 0.9.40 beta
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.501 : 220-written by Tim Kosse (
Tim.Kosse@gmx.de)
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.501 : 220 Please visit
http://sourceforge.net/projects/filezilla/
DEBUG [FileTransferClient] 19 Apr 2012 11:19:52.502 : Client connected
DEBUG [FileTransferClient] 19 Apr 2012 11:19:52.502 : Logging in
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.502 : ---> USER Curious
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.583 : 331 Password required for curious
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.584 : ---> PASS ********
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.663 : 230 Logged on
DEBUG [FileTransferClient] 19 Apr 2012 11:19:52.664 : Logged in
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.664 : ---> TYPE I
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.743 : 200 Type set to I
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.744 : ---> CWD /
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.823 : 250 CWD successful. "/" is current directory.
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.827 : ---> SYST
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.907 : 215 UNIX emulated by FileZilla
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.911 : ---> PWD
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.992 : 257 "/" is current directory.
DEBUG [FTPClient] 19 Apr 2012 11:19:52.993 : setupDirDetails() returning: /
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:52.993 : ---> PASV
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.072 : 227 Entering Passive Mode (63,225,118,8,213,235)
INFO [FTPControlSocket] 19 Apr 2012 11:19:53.073 : Substituting server supplied IP (63.225.118.8) with remote host IP (63.225.118.8)
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.214 : ---> LIST
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.296 : 150 Connection accepted
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.297 : 226 Transfer OK
DEBUG [FTPFileFactory] 19 Apr 2012 11:19:53.298 : Confirmed format UNIX
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.301 : ---> MKD timing_test
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.382 : 257 "/timing_test" created successfully
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.382 : ---> CWD timing_test
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.462 : 250 CWD successful. "/timing_test" is current directory.
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.463 : ---> PWD
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.543 : 257 "/timing_test" is current directory.
DEBUG [FTPClient] 19 Apr 2012 11:19:53.543 : setupDirDetails() returning: /timing_test
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.543 : ---> PASV
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.623 : 227 Entering Passive Mode (63,225,118,8,213,236)
INFO [FTPControlSocket] 19 Apr 2012 11:19:53.623 : Substituting server supplied IP (63.225.118.8) with remote host IP (63.225.118.8)
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.766 : ---> LIST
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.847 : 150 Connection accepted
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.848 : 226 Transfer OK
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.849 : ---> PWD
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.929 : 257 "/timing_test" is current directory.
DEBUG [FTPClient] 19 Apr 2012 11:19:53.930 : setupDirDetails() returning: /timing_test
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:53.930 : ---> PASV
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.010 : 227 Entering Passive Mode (63,225,118,8,213,237)
INFO [FTPControlSocket] 19 Apr 2012 11:19:54.010 : Substituting server supplied IP (63.225.118.8) with remote host IP (63.225.118.8)
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.154 : ---> LIST
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.235 : 150 Connection accepted
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.236 : 226 Transfer OK
DEBUG [FileTransferClient] 19 Apr 2012 11:19:54.238 : Configured client
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.239 : ---> CWD /
DEBUG [FTPClient] 19 Apr 2012 11:19:54.239 : Connecting to /63.225.118.8:21
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.323 : 250 CWD successful. "/" is current directory.
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.324 : ---> CWD timing_test
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.404 : 250 CWD successful. "/timing_test" is current directory.
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.405 : ---> PWD
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.407 : 220-FileZilla Server version 0.9.40 beta
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.408 : 220-written by Tim Kosse (
Tim.Kosse@gmx.de)
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.408 : 220 Please visit
http://sourceforge.net/projects/filezilla/
DEBUG [FileTransferClient] 19 Apr 2012 11:19:54.408 : Client connected
DEBUG [FileTransferClient] 19 Apr 2012 11:19:54.408 : Logging in
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.408 : ---> USER Curious
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.486 : 257 "/timing_test" is current directory.
DEBUG [FTPClient] 19 Apr 2012 11:19:54.486 : Attempt #1
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.486 : ---> PASV
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.487 : 331 Password required for curious
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.487 : ---> PASS ********
DEBUG [FTPControlSocket] 19 Apr 2012 11:19:54.567 : 227 Entering Passive Mode (63,225,