Implementing SFTP in 2.0
I want to write SFTP clients and servers in .NET 2.0. Is that possible? Please开发者_如何学Go give me some suggestions
Take a look at SharpSSH. It has an open source BSD-style license and supports SCP and SFTP.
The .NET Framework 2.0 does not include any support for SSH/SFTP. You probably have to try one of third party solutions. Our Rebex SFTP for .NET can be worth checking. Check the samples and tutorials to see if it fits your needs.
If you want a commercial package, take a look at edtFTPnet/PRO. It supports multiple connections, directory transfers, and lots of other neat features (I'm one of the developers on the product).
See SSH.NET - it's still in development/maintained, unlike SharpSSH (unless I got bad intel)
Sample code for uploading file.
精彩评论