cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP file info and state machine

From: John Utz <john_at_utzweb.net>
Date: Thu, 27 Jan 2011 19:05:31 -0500 (EST)

(yay! functional MUA!)

----- Original Message -----
> On Thu, 27 Jan 2011, John Utz wrote:
>
> > I am attempting to follow up on Sr. Melle's work to support sftp
> > file info.
> >
> > Given Daniel's concerns about the correct utilization of the state
> > machine,
> > I figure I need to start there.
>
> I don't think the actual state machine use was the problem but rather
> that
> conditions were changed as in what it did.
>
> > So is there any documentation about the libcurl state machine? i
> > have not
> > found any yet.
>
> libcurl features several state machines but none are documented. I
> don't know
> what I would document about them that isn't already pretty evident in
> the
> code...!
>
> If you have specific questions I'll try to answer!
>
> > because at this point, i am just slogging thru ftp.c line by line
> > and trying
> > to figure out how it all works, but i think i am way too deep in the
> > trees
> > without a map of the forest. :-)
>
> Weren't you talking SFTP? Then you should only look in lib/ssh.c. SFTP
> has
> very little to do with FTP apart from sounding very similar...

IIRC your original mail on the topic indicated that it would be easy to add it to ssh and i assumed that it would be copy and paste from what was in ftp, if i cant start from what's in ftp then how is it an easy fix? what code will i evolve to make this work?

tnx!

johnu

> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-28