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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.