Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

FTP Upload Transfer Speed

no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

FTP Upload Transfer Speed

by kanedk » Sat Jun 08, 2013 5:38 am

no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

by kanedk » Sat Jun 08, 2013 6:37 am

no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

by kanedk » Sat Jun 08, 2013 7:54 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Sat Jun 08, 2013 11:08 am

no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

by kanedk » Sun Jun 09, 2013 3:14 am

Using FTPClient (via 'hack' username of user@remote.ftp.server)
>>>
debug:
DEBUG [FTPClient] 8 Jun 2013 12:51:15.244 : Class: com.enterprisedt.net.ftp.FTPClient
Location: file:TestHarness/lib/edtftpj-pro.jar
Version: 4.4.0
Build timestamp: 5-Dec-2012 15:58:52 EST
Java version: 1.5.0_15
CLASSPATH: TestHarness/lib/edtftpj-pro.jar:netbeans/platform/modules/ext/junit-4.10.jar:TestHarness/build/classes
OS name: Linux
OS arch: amd64
OS version: 2.6.32.59-0.3.1.4320.0.PTF-default

DEBUG [FTPClient] 8 Jun 2013 12:51:15.260 : Connecting to ftpproxy.blah.com/1.2.3.4:21
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:15.280 : 220 [002-0018] host.blah.com FTP proxy 5.1.11 ready.
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:15.281 : ---> USER testuser@remote.ftp.server
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:15.802 : 331-( [002-0059] Firewall connected to remote.ftp.server (5.6.7.8).)
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:15.841 : 331-(220 ProFTPD 1.3.4a Server (Debian) [::ffff:a.b.c.d])
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:15.841 : 331 Password required for testuser
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:15.841 : ---> PASS ********
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.045 : 230 User testuser logged in
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.045 : ---> TYPE I
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.099 : 200 Type set to I
Transferring file...
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.105 : ---> PWD
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.158 : 257 "/home/testuser" is the current directory
DEBUG [FTPClient] 8 Jun 2013 12:51:16.158 : Attempt #1
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.158 : ---> PASV
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.271 : 227 Entering Passive Mode
INFO [FTPControlSocket] 8 Jun 2013 12:51:16.271 : Substituting server supplied IP (5.6.7.8) with remote host IP (5.6.7.8)
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.273 : ---> STOR testupload
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:16.330 : 150 Opening BINARY mode data connection for testupload
DEBUG [FTPClient] 8 Jun 2013 12:51:19.463 : Transferred 2120972 bytes to remote host
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:20.030 : 226 Transfer complete
...complete
Transfer rate : 690 Kb/s
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:20.030 : ---> DELE testupload
DEBUG [FTPControlSocket] 8 Jun 2013 12:51:20.087 : 250 DELE command successful
BUILD SUCCESSFUL (total time: 5 seconds)
>>>

Using ProFTPClient (via SOCKS5 proxy)
>>>
debug:
DEBUG [FTPClient] 8 Jun 2013 12:53:12.301 : Class: com.enterprisedt.net.ftp.pro.ProFTPClient
Location: file:TestHarness/lib/edtftpj-pro.jar
Version: 4.4.0
Build timestamp: 5-Dec-2012 15:58:52 EST
Java version: 1.5.0_15
CLASSPATH: TestHarness/lib/edtftpj-pro.jar:netbeans/platform/modules/ext/junit-4.10.jar:TestHarness/build/classes
OS name: Linux
OS arch: amd64
OS version: 2.6.32.59-0.3.1.4320.0.PTF-default

DEBUG [ProFTPClient] 8 Jun 2013 12:53:12.309 : Connecting to remote.ftp.server:21
DEBUG [StreamSocketFactory] 8 Jun 2013 12:53:19.345 : Connecting to remote.ftp.server:21 via SOCKS5 proxy
DEBUG [Socks5ProxySocket] 8 Jun 2013 12:53:19.353 : sending request without username/pwd
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:19.887 : 220 ProFTPD 1.3.4a Server (Debian) [::ffff:a.b.c.d]
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:19.889 : ---> USER testuser
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:19.943 : 331 Password required for testuser
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:19.943 : ---> PASS ********
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.132 : 230 User testuser logged in
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.133 : ---> TYPE I
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.187 : 200 Type set to I
Transferring file...
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.191 : ---> PWD
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.244 : 257 "/home/testuser" is the current directory
DEBUG [FTPClient] 8 Jun 2013 12:53:20.245 : Attempt #1
DEBUG [ProFTPControlSocket] 8 Jun 2013 12:53:20.245 : Checking if IPV6:java.net.Inet4Address (1.2.3.4)
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.245 : ---> PASV
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.298 : 227 Entering Passive Mode
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:20.299 : Using proxy
INFO [FTPControlSocket] 8 Jun 2013 12:53:20.299 : Substituting server supplied IP (5.6.7.8) with remote host IP (remote.ftp.server)
DEBUG [StreamSocketFactory] 8 Jun 2013 12:53:22.840 : Connecting to remote.ftp.server:59857 via SOCKS5 proxy
DEBUG [Socks5ProxySocket] 8 Jun 2013 12:53:22.840 : sending request without username/pwd
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:22.942 : ---> STOR testupload
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:23.001 : 150 Opening BINARY mode data connection for testupload
DEBUG [FTPClient] 8 Jun 2013 12:53:37.936 : Transferred 2120972 bytes to remote host
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:39.126 : 226 Transfer complete
...complete
Transfer rate : 121 Kb/s
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:39.126 : ---> DELE testupload
DEBUG [FTPControlSocket] 8 Jun 2013 12:53:39.182 : 250 DELE command successful
BUILD SUCCESSFUL (total time: 27 seconds)
Last edited by kanedk on Sun Jun 09, 2013 3:22 am, edited 1 time in total.
no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

by kanedk » Sun Jun 09, 2013 3:21 am

FTPClient transferred the file in 3 seconds, ProFTPClient transferred it in 14 seconds.
no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

by kanedk » Sun Jun 09, 2013 11:50 pm

I have a tentative, provisional and highly shonky patch that enables the ProFTPClient to operate in raw FTP proxy mode. So far, it successfully transfers files at normal (high) speeds.

Would welcome some eyeballs to inspect it. It's not very complicated.

Where could I send a patch?
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Mon Jun 10, 2013 8:01 pm

Sure, send it to support at enterprisedt dot com
no avatar
User

kanedk

Posts

9

Joined

Tue May 21, 2013 5:43 am

by kanedk » Tue Jun 11, 2013 1:08 am

Patch sent via email

Who is online

Users browsing this forum: Google [Bot] and 19 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron