cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

RE: SCP and SFTP crash on Windows x64

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Oct 2010 23:05:27 +0200 (CEST)

On Thu, 14 Oct 2010, Zhang, Jack wrote:

> res = connect_host(data, &conn); /* primary connection */

> Variable <res> got value "CURLE_UNSUPPORTED_PROTOCOL" (rather than
> CURLE_OK)

But... you said "crash"? Is that what you mean by crash?

> But SCP, SFTP are supported when I compiled.

It seems you're linking with the wrong lib, or there's a bug in
lib/url.c:findprotocol() - although I must say I consider the latter unlikely.

And please, don't top-post:
         http://curl.haxx.se/mail/etiquette.html#top-post

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET