11

is there a good library out there to connect to a SFTP server and save/load file to/from there? I tried google, but there is so much so I thought Id ask for recommendations. It will be used in a web app...

Thanks :-)

aidan
  • 9,310
  • 8
  • 68
  • 82
grady
  • 12,281
  • 28
  • 71
  • 110
  • See [.NET Open Source CODE for SFTP ? ](http://stackoverflow.com/questions/179569/net-open-source-code-for-sftp) and [How do I upload a file to an SFTP server in C# / .NET? ](http://stackoverflow.com/questions/86458/how-do-i-upload-a-file-to-an-sftp-server-in-c-net#86510). – Matthew Flaschen Nov 11 '10 at 07:50
  • Possible duplicate of [How do I upload a file to an SFTP server in C# / .NET?](http://stackoverflow.com/questions/86458/how-do-i-upload-a-file-to-an-sftp-server-in-c-sharp-net) – Rowland Shaw Jan 26 '17 at 14:33

3 Answers3

3

WinSCP is Open Source and has a .NET library available as a nuget package that supports SFTP, SCP, and FTPS

Aaron
  • 1,390
  • 1
  • 16
  • 30
2

Current state of SFTP open source .NET libs is as follows:

SSH.NET

https://github.com/sshnet/SSH.NET

Looks promissing, but I have no direct experience with it.

Sharp SSH (also know as TamirGal SSH)

http://sourceforge.net/projects/sharpssh/

One of the oldests, some StackOverflow users consider it quite unstable.

Granados SSH

http://granados.sourceforge.net/

Looks abandoned since 2004

Atrribution: This post is excerpt from list of SFTP libraries from sftp.net.

Community
  • 1
  • 1
Martin Vobr
  • 5,757
  • 2
  • 37
  • 43
2

SharpSSH

Graham
  • 14,885
  • 4
  • 36
  • 42