cURL / Mailing Lists / curl-library / Single Mail


Re: SCP/SFTP and persistency, bug #1823487

From: Daniel Stenberg <>
Date: Tue, 13 Nov 2007 10:52:51 +0100 (CET)

On Tue, 13 Nov 2007, wrote:

>> listings fine on a re-used connection.
> I took ssh.c from the CVS, but it doesn't work for me, same problem.
> Curl_readwrite_init() still resets the bytecount and Curl_retry_request()
> does the rest.
> Did you patch transfer.c ?

No, but I patched urldata.h and modified a struct so just getting a new ssh.c
wouldn't work for you!

For reference, I ran this simple test case to verify my fix:

  ./src/curl sftp://localhost/tmp/ sftp://localhost/tmp/ -v -u user:password

How do you get to see your problem?

  Commercial curl and libcurl Technical Support:
Received on 2007-11-13