Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The performance of transferring file is bad #575

Open
zhanghaiyang9999 opened this issue Jan 22, 2024 · 1 comment
Open

The performance of transferring file is bad #575

zhanghaiyang9999 opened this issue Jan 22, 2024 · 1 comment

Comments

@zhanghaiyang9999
Copy link

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!

@puellanivis
Copy link
Collaborator

Are you using UseConcurrentWrites and/or UseConcurrentReads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants