cURL / Mailing Lists / curl-library / Single Mail


Re: sftp download error in 7.49.1

From: Daniel Stenberg <>
Date: Wed, 20 Jul 2016 23:19:19 +0200 (CEST)

On Wed, 20 Jul 2016, Dan Donahue wrote:

> Downloading via sftp sees significant decrease in speed and eventually
> stalls without any indication of error or timeout. Download never resumes
> following the stall.
> The same result occurs using the curl command line tool.
> With 7.44.0 average sftp download speed is ~3MBs/sec. With 7.49.1 speed
> registers initially at ~100KB/sec and slowly increments to ~600KB/sec. With
> large files (256MB) the download stalls and does not recover. No SSH
> disconnects or errors are seen on the server (until my abort logic).

Strange! Any chance you can bisect down to a suspected commit that introduced
this behavior?

> Setting the FTP_RESPONSE_TIMEOUT option to 10 seconds (< progress timeout
> logic) does not cause a timeout.

That option is for FTP only and that is pretty clearly stated in the
documentation I think. SFTP is not FTP. The option is completely meaningless
for SFTP transfers.

List admin:
Received on 2016-07-20