MyGit

2016.1.0-beta2

sshnet/SSH.NET

版本发布时间: 2017-08-17 02:42:20

sshnet/SSH.NET最新发布版本:2024.1.0(2024-06-28 15:06:08)

Changes

General

SftpClient

Breaking changes

SftpClient

    var buffer = Encoding.UTF8.GetBytes("123456");

    using (var client = new SftpClient("host", "user", "pwd"))
    {
        client.Connect();

        using (var ws = client.OpenWrite(path))
        {
            ws.Write(buffer, 0, 3);
        }

        using (var ws = client.OpenWrite(path))
        {
            ws.Seek(3, SeekOrigin.Begin);
            ws.Write(buffer, 3, 3);
        }

        Console.WriteLine(client.ReadAllText(path, Encoding.UTF8));
    }

Fixes

General

SftpClient

相关地址:原始地址 下载(tar) 下载(zip)

1、 SSH.NET-2016.1.0-beta2-bin.zip 2.07MB

2、 SSH.NET-2016.1.0-beta2-help.chm 2.29MB

查看:2017-08-17发行的版本