#10 Slow transfer rate for large files

open
nobody
None
7
2004-12-07
2004-12-07
Jim Faut
No

Using JSCH to scp a large file (100 MB+) is
extremely slow. A transfer takes several minutes
even on a local network. Transferring the same file
using the command line scp command takes only 30
seconds.

I am calling jsch from Ant 1.6.

I am using the command line scp command using
Solaris.

uname -a
SunOS myhost 5.9 Generic_112233-08 sun4u sparc
SUNW,Ultra-80

java -version
java version "1.4.0_03"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.4.0_03-b04)
Java HotSpot(TM) Client VM (build 1.4.0_03-b04,
mixed mode)

Discussion

  • Jim Faut

    Jim Faut - 2004-12-07
    • priority: 5 --> 7
     
  • Nobody/Anonymous

    Logged In: NO

    Try to change buffer sizes in scpTo and scpFrom to a higher
    value. It works fine for me.

    Mario

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks