curl-library
Re: sftp & scp
From: James Housley <jim_at_thehousleys.net>
Date: Sun, 10 Dec 2006 10:10:59 -0500
Date: Sun, 10 Dec 2006 10:10:59 -0500
On Dec 10, 2006, at 4:41 AM, Sharon Shaanan wrote:
> Hi all
>
> Up until recently I thought CURL does not support SCP & SFTP , just
> FTPS. Now I see ot support these protocols too….. J
>
> Is the code for implementing ftp client (user,password, perform….)
> is the same for implementing SFTP or SCP client??
>
> Do I need to change only the prefix of the url (scp:// or sftp://)
> or the apis are totally different?
The code to support scp:// and sftp:// is starting to be supported
and is experimental. But for basic send and receive it does work.
It used the curl interface for user,password, perform... as much as
the code has been written.
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 --------------------------------------------------------------------- In theory there is no difference between theory and practice. In practice there is no similarity. -- From the "I wish I'd said that" archives.Received on 2006-12-10