Re: c# - Bad download speed when writing to NAS (network drive) - solved?
As I wrote above, there's no buffering implemented in WinSCP. WinSCP writes all data directly to
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile
All buffering is done by Windows OS inside the function. Afaik, there no API to control the OS buffer.
WriteFile
:
https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile
All buffering is done by Windows OS inside the function. Afaik, there no API to control the OS buffer.