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?
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.
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.
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.
Ok thanks I'll look into it.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.