cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl with SSH support in Visual Studio 2008

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 14 Sep 2015 22:57:55 +0200 (CEST)

On Mon, 14 Sep 2015, Saccaggi, Francesco wrote:

> http://curl.haxx.se/libcurl/c/Using-libcurl-with-SSH-support-in-Visual-Studio-2008.pdf

That document is approach 5 years old and I intend to stop linking to it soon.
Unfortunately the other one at http://curl.haxx.se/libcurl/c/ is even older
and I should probably remove that one too.

Unfortunately we don't have the source of those documents so we can't easily
update them. But we should really switch away from PDF/office documents anyway
and use plain and effective markdown instead if we want documents of this sort
to stay alive and relevant.

> I was going through this tutorial and I was wondering if someone could tell
> me what the point of steps 3.0 to 3.3 importance are.

3.1 is for perl which you need to make a complete build and for running tests

3.2 "Netwide Assembler" seems completely pointless and I don't know why that
is even in the document!

3.3 is openssl which you can use to build curl with TLS. These days you can
also opt to get TLS ability using other libs.

> but when I start debugging I get a Run-Time Check Failure #2. That says
> Stack around the variable 'ctx' was corrupted. So I break out of it and it
> takes me to the openssl.c file and shows me where the error happens.

You said you skipped the openssl build step and yet you're using it? Are you
then using a lib you downloaded from somewhere? Are you sure it is built in a
compatible way? (Windows is extremely yucky in this way.)

> Also another thing I noticed is when I look at my command prompt window
> when it says
> Trying "ip address"... Uploaded: 0 / 0
> connected
> Connected to "ip address" ("ip address") port "" (#0)
>
> It seems that it is trying to upload my image before connecting. Which
> doesn't make sense because if you look at the tutorial its the same code I
> am using and in their command prompt window it starts to Upload once the
> Authentication complete happens.

As far as I can see, libcurl has nothing that says "Uploaded" like that. It is
not libcurl's output.

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