Related questions
SFTP Libraries for .NET
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 …
Download files from SFTP with SSH.NET library
string host = @"ftphost";
string username = "user";
string password = "********";
string localFileName = System.IO.Path.GetFileName(@"localfilename");
string remoteDirectory = "/export/";
using (var sftp = new SftpClient(host, username, password))
{
sftp.Connect();
var files = sftp.ListDirectory(remoteDirectory);
foreach (var file in files)
{
if (!file.…
How to use sftp in C#
Possible Duplicate:
How do I upload a file to an SFTP server in C# / .NET?
Does .net support sftp?
I can't find any sample online.