Je suis à la recherche d'un client SFTP gratuit. En outre, il devrait avoir une DLL gratuite à l'aide de laquelle je peux écrire du code pour télécharger et télécharger le fichier en C# (framework .NET).Client SFTP gratuit avec dll pour télécharger et télécharger le fichier en C#
Par exemple le code suivant n'est pas gratuit, il dispose de 30 jours d'évaluation gratuite, je veux gratuitement,
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.");
http://stackoverflow.com/questions/1753709/implementing-sftp-in-2-0 http://stackoverflow.com/questions/530330/sftp-libraries-for-net –