curl-library
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)
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.htmlReceived on 2010-10-14