SftpClient.queryLimits

Queries the server's transfer limits through limits@openssh.com version 1.

Returns

An operation carrying the reported limits; zero fields mean

the server reports no limit and local bounds apply.

Throws

SftpException when the extension is not advertised or

its version is not 1.