cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: a question regarding SFTP using curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Apr 2009 20:05:34 +0200 (CEST)

On Mon, 6 Apr 2009, Zhonggui Li wrote:

> curl 7.17.1 (sparc-sun-solaris2.9) libcurl/7.17.1 OpenSSL/0.9.8 zlib/1.2.3
> libssh2/0.18

You'll find SFTP to work A LOT better if you upgrade to libcurl 7.19.4 with
libssh2 1.1...

> However when I did it in C, I received the following information (error
> occurs when performing curl_easy_perform with an error code of 2):
>
> * About to connect() to *.*.*.* port 22 (#0)
> * Trying *.*.*.*... * connected
> * Connected to *.*.*.* (*.*.*.*) port 22 (#0)
> * Failure establishing ssh session

Strange. Can you show us a full source code for the app that repeats this
problem so that we can try on our own?

Also, please try more recent versions just to make sure this isn't a problem
already fixed!

-- 
  / daniel.haxx.se
Received on 2009-04-06