See also the sftp specification at:

https://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.1

The size to read is in 4 bytes (32 bits).
I think that internally SCP and others do read in chunks, using 32
bits for sizes.

Stef

Reply via email to