Compare to scp command, use same file and same source and destination hosts.
SCP command:
scp localfile root@remotehost:/root/test
it took 30seconds
use linux sftp tool it aslo took about 30 seconds.
but with this go/sftp package, it took 90 seconds.
Compare to scp command, use same file and same source and destination hosts. SCP command: scp localfile root@remotehost:/root/test it took 30seconds use linux sftp tool it aslo took about 30 seconds.
but with this go/sftp package, it took 90 seconds.
there is any optimization method? thanks!