cURL / Mailing Lists / curl-library / Single Mail


RE: SFTP Question

From: Dan Ledford <>
Date: Wed, 14 Nov 2007 16:37:43 -0500

Hello James,

Thanks for the response and the libssh2 tip...

Per your email, I have downloaded and am using libssh2 0.18 (which was released Monday of this week).

I am now getting authentication errors in my SFTP tests but, at this point, I think I have setup issues on the SFTP server (which does not use curllib). I am pursuing these setup issues now.

Thanks again for the tip on libssh2. It appears that I am past my former error 79 (Error in SSH Layer) issue.


-----Original Message-----
[]On Behalf Of James Dennett
Sent: Wednesday, November 14, 2007 12:39 PM
To: libcurl development
Subject: RE: SFTP Question

> I am trying to use curllib (17.7.1) and libssh2 (0.17) for
> WIN32 SFTP transfers. 
> I have already generated successful WIN32 FTPS transfers
> using these libs.
> When I try an SFTP transfer, curllib aborts with error 79
> (Error in SSH Layer).
> I feel pretty sure that this issue is related to the curllib
> options that I am using (or not using) for the SFTP transfer. 
> But, I cannot find an SFTP example in the curl web pages.

It may be an issue with your options, but our code using SFTP
would not work with libssh2 0.17, and I had to use a later
snapshot. It seems that some crucial work on libssh2 happened
shortly after the August release of version 0.17.

Snapshots are available from the website if you prefer that to
CVS access.

-- James
Received on 2007-11-14