net-ssh/net-sftp — pull request #11 by thedarkone (2012-04-25 13:48:42+00:00)
Title: Properly handle receiving less data than requested

Some sftp servers put an upper bound on the amount of data sent as response to a single request (for example `sftp-server` shipped with OS X 10.6 only sends out a maximum of 65KB per FXP_READ).