How do I upload a file to an SFTP server in C# (.NET)?


Question

Does a free .NET library exist with which I can upload a file to a SFTP (SSH FTP) server, which throws exceptions on problems with the upload and allows the monitoring of its progress?

1
64
11/14/2018 10:22:02 PM

Maybe you can script/control winscp?

Update: winscp now has a .NET library available as a nuget package that supports SFTP, SCP, and FTPS

35
5/10/2016 5:24:57 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon