stevegray
4Penny.net
Points: 55409

1/28/2016 10:36:10 AM

SFTP sample code

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

I have occasion to need to FTP data in order to integrate it. Usually I use the FTP components that come with .NET, but they don't handle SFTP. It's a changing world.

The code sample below shows how to use the Renci.SshNet dll. It's free, here:

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

If I have occasion to need this again I'll blow it out into a full class, but for now I just need the upload.


 
4Penny.net
Version: All
Section: .NET Development
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3