SFTP Libraries for .NET

John Doe picture John Doe · Feb 9, 2009 · Viewed 161.4k times · Source

Can anyone recommend a good SFTP library to use? Right now I'm looking at products such as SecureBlackbox, IPWorks SSH, WodSFTP, and Rebex SFTP. However, I have never used any SFTP library before so I'm not sure what I'm looking for.

If anyone has used these before, is there any reason why I should go with product "X" over "Y"?

Answer

Asbjørn Ulsberg picture Asbjørn Ulsberg · Apr 24, 2012

I've searched around and found that this fork of SharpSSH and SSH.NET are the most up to date and best maintained libraries for SFTP (not to be confused with FTPS) communication in .NET. SSH.NET is a clean .NET 4.0 implementation of the SFTP protocol, and I've used it in a couple of solutions with flying colors and great success.

The original SharpSsh seems to be dead and most other solutions either require installation of Windows executables or a bucketload of cash (or worse; both).