curl-library
Re: SCP/SFTP and persistency, bug #1823487
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 13 Nov 2007 10:52:51 +0100 (CET)
Date: Tue, 13 Nov 2007 10:52:51 +0100 (CET)
On Tue, 13 Nov 2007, junk_at_igrspace.com 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: http://haxx.se/curl.htmlReceived on 2007-11-13