-
-
Notifications
You must be signed in to change notification settings - Fork 906
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
SftpClient: slow download #1331
Comments
|
Same situation, using 2024.0.0, download speed is around 1MB/s only on a sftp server (protocol v3), and same environment with sftp command I got 15MB/s. @WojciechNagorski |
Can confirm the same issue with 2024.0.0 |
I tried with 2024.0.0 and 2023.0.1, same result @goremykin, with .net 6 seems this fix does not work for me: #866 |
There has been no recent investigation into SFTP performance that I know of. If you make an investigation, please do share your findings. Thanks |
Hi! Thank you for this project, I appreciate your work.
I have a job in js that downloads some files over sftp every night using ssh2-sftp-client.
I decided to rewrite this job in C# using SSH.NET, but it turned out that the same files are now downloaded up to 15 times slower.
For example, a 25 MB file can be downloaded in 5 seconds using ssh2-sftp-client and in over a minute using SSH.NET.
I tested on ubuntu and arch linux in a simple .net 8 project. SSH.NET version - 2023.0.1.
In case of reading from a stream it even slower:
Do you have any ideas on what I should check or what settings I should play with?
The text was updated successfully, but these errors were encountered: