cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Adding libssh2 support to curllib

From: James Housley <jim_at_thehousleys.net>
Date: Fri, 6 Oct 2006 22:08:42 -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.
>

That is good to hear.

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

But of course.

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

I hadn't thought about it, but since I like to do things "right" ....
more then likely.

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
---------------------------------------------------------------------
Fortune Not Found:
Abort, Retry, Ignore?
Received on 2006-10-07