cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: No SFTP?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 22 Apr 2010 00:12:32 +0200 (CEST)

On Wed, 21 Apr 2010, Taco Bella wrote:

> I am new to Curl. I downloaded the latest version with SSL support (v:
> 7.2.1) for Windows.

I think you meant 7.20.1.

> 1) First, options are not recognized:
>
> % ./curl.exe -userpwd user:pwd -url sftp://ftp.xyz.com
>
> Enter host password for user 'serpwd':
> Enter host password for user 'rl':

That's because the long versions of the options use two dashes, not one:
--userpwd and --url. If you use the short version of the options you use one
dash: -u (--url has no short version, but you don't need to use "--url" when
the URL is given on the commandline)

> And then when I enter these again, it says:
> curl: (1) Protocol sftp not supported or disabled in libcurl

The binary you got/built wasn't built to support SFTP!

> Any ideas why? Which version has SFTP?

Your mail actually reminded me about a package I got from a Dr. P. Voigt, and
it'd be fun to get some feedback on this:

http://curl.haxx.se/download/curl-7.20.0_mingw32_libcurl_openssl-0.9.8n_zlib-1.2.3_libssh2-1.2.4_libidn-1.8_dynamic_pvoigt.zip

It isn't yet available from the download page.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-22