cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Adding libssh2 support to curllib

From: James Housley <jim_at_thehousleys.net>
Date: Sun, 8 Oct 2006 13:15:55 -0400

On Oct 6, 2006, at 5:29 PM, Daniel Stenberg wrote:

> On Fri, 6 Oct 2006, James Housley wrote:
>
>> I have started adding libssh2, for sftp, to a program of mine that
>> already uses libcurl. I know there has been requests for this in
>> the past. I don't know if I will have time to finish, but before
>> I start.... libssh2 documentation is very sparse, but is very
>> simple. Basically you use libssh2_sftp_open(), libssh2_sftp_read
>> (), libssh2_sftp_write(), and friends.
>>
>> My first, and most important question, is will this methodology
>> fit into libcurl for FTP? I ask because it is called sftp, but is
>> not very FTP-like.
>
> It would fit very well and is in fact even requested every now and
> then by people and companies.
>
> We should just make sure it remains optional (or at least
> optionally disabled) in the same way SSL-related protocols are
> already optional using configure.
>
> Just post a patch here when you have something you feel like
> sharing! Are you planning to support SCP as well while you're at it?
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/
> curl.html

The ftp protocol work is huge. How would you recommend I start? Is
there a good protocol to emulate?

Jim

--
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
  X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
"Eagles may soar, but weasels don't get sucked into jet engines"
     -- Anon
Received on 2006-10-08