locked
Free SFTP Client with free dlls RRS feed

  • Question

  • Hi,

    I am looking for a SFTP Client which is free. Also it should have a free dll using which I can write code to upload and download file in C# (.NET framework).

    For example following code is not free, it has 30 days free evaluation, 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.");
    


    `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.");
    Tuesday, July 20, 2010 9:40 PM