cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sftp resume and libssh2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 16 Feb 2008 14:38:32 +0100 (CET)

On Fri, 15 Feb 2008, mikep_at_proatria.com wrote:

> I am planning to add resume support to sftp transfers using the
> libssh2_sftp_seek function. I think that the correct method is to mimic the
> handling of the data->state.resume_from etc.
>
> If anyone has iworked on this or has any advice I'll be grateful.
> Otherwise I'll just get on with the code.

I don't have any particular advice, other than that you need to add this code
to the general SSH state machine so that it'll work in a non-blocking manner
nicely when used from the multi interface.

Do ask specific questions if you end up facing any specific problems!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-02-16