Menu

SFTP file upload Speed

2010-12-03
2024-03-07
  • João Proença

    João Proença - 2010-12-03

    Hi,
    I'm using ssh tools on a applet to upload files to a server though SFTP, but the maximum speed I can achieve is 50 or 60 KB/s but when I use for example Filezilla I can get 200+ KB/s.

    Is there any option or configuration I can use to speed up the transfer or is this the maximum speed this library can achieve?

    Thanks

     
  • Pat

    Pat - 2010-12-03

    SFTP is command/response driven so increasing the block sizes will mean there's less time waiting for a response from the server. Look at the packet and window size and compare to what's used by FileZilla.

     
  • João Proença

    João Proença - 2010-12-03

    Thanks for the reply, and do you know where I can change that in the library? I can't find a function or something for that.

     
  • Pat

    Pat - 2010-12-03

    Search for windowsize, blocksize, packetsize and if you want it confurable you'll have to add methods. You're going to have to put some time/effort into this.

     
  • João Proença

    João Proença - 2010-12-03

    Ok thanks I'll look into it.

     

Log in to post a comment.