I am looking for a free SFTP client. It should also have a free dll in which I can write code to upload and download a file in C # (.NET framework).
For example, the following code is not free, it has a free estimate for 30 days, I want it for free,
Chilkat.SFtp sftp = new Chilkat.SFtp(); bool success; success = sftp.UnlockComponent("Anything for 30-day trial"); sftp.ConnectTimeoutMs = 5000; sftp.IdleTimeoutMs = 10000; int port; string hostname; hostname = "www.my-ssh-server.com"; port = 22; success = sftp.Connect(hostname,port); success = sftp.AuthenticatePw("myLogin","myPassword"); success = sftp.InitializeSftp(); string handle; handle = sftp.OpenFile("hamlet.xml","readOnly","openExisting"); success = sftp.DownloadFile(handle,"c:/temp/hamlet.xml"); success = sftp.CloseHandle(handle); MessageBox.Show("Success.");
user358591
source share