cURL / Mailing Lists / curl-users / Single Mail

curl-users

set a larger sftp buffer size

From: Peter O'Gorman <curl-users_at_mlists.thewrittenword.com>
Date: Tue, 14 Aug 2007 01:05:04 -0500

[helps if I send from the subscribed address, sorry]

Hi,

We'd like to use a significantly larger buffer size when doing sftp://
transfers (the speed up is impressive).

It looks like this is based on the BUFSIZE define, however, we'd
rather not change it for all protocols.

Is there an "easy" way to do this, or do we have to read a large
amount in ssh.c and feed it to Curl_client_write et. al. in blocks no
larger then BUFSIZE?

Thanks,
Peter
Received on 2007-08-14