<PackageReference Include="SSH.NET" Version="2026.0.0" />

Renci.SshNet.Sftp.Requests.SftpWriteRequest

sealed class SftpWriteRequest : SftpRequest
public ReadOnlySpan<byte> Data { get; }

Gets the buffer holding the data to write.

public ReadOnlySpan<byte> Handle { get; }

public ulong ServerFileOffset { get; }

Gets the zero-based offset (in bytes) relative to the beginning of the file that the write must start at.

public SftpWriteRequest(uint protocolVersion, SftpWriteRequestBuffer buffer, Action<SftpStatusResponse> statusAction)

public ArraySegment<byte> GetBytes()