SftpClient.effectiveReadChunk

uint effectiveReadChunk() const @safe pure nothrow

Returns

the maximum READ data length local and negotiated limits

allow; server zero-limits leave the local bound in effect.