问题
Needing to use an SFTP client and looking to build it in a .NET Core 2.0 application.
I was wondering if SFTP is already part of .NET standard 2.0 or will I need to use a 3rd party library for this, e.g. SSH.NET?
回答1:
There's no SFTP client in any current version of .NET.
See also SFTP Libraries for .NET and many others.
回答2:
There are many SFTP clients for .net since many years: SecureBlackbox, IPWorks SSH, WodSFTP, and Rebex SFTP. SecureBlackbox provides an sftp solution for at least 12 years. If you are looking for an open source project, SSH.NET on github (https://github.com/sshnet/SSH.NET) should match your expectations. It is compatible with .net standard witch means it is compatible with .net framework and .net core. Moreover, it is a standalone solution that doesn't have thirdparty dependency.
来源:https://stackoverflow.com/questions/48432921/does-net-core-2-0-have-sftp-client