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

SftpWriteRequest

public byte[] Data { get; }

Gets the buffer holding the data to write.

public byte[] Handle { get; }

public int Length { get; }

Gets the length (in bytes) of the data to write.

public int Offset { get; }

Gets the zero-based offset in Data at which to begin taking bytes to write.

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, uint requestId, byte[] handle, ulong serverFileOffset, byte[] data, int offset, int length, Action<SftpStatusResponse> statusAction)