cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP file info and state machine

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 28 Jan 2011 00:35:40 +0100 (CET)

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...

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