curl-users
RE: sftp--curl: (56) Failure when receiving data from the peer.
Date: Fri, 21 Feb 2014 11:57:57 +0100 (CET)
On Thu, 20 Feb 2014, Michael Zhang wrote:
> I am using latest Curl with latest libssh2 library. Here is what I got from
> Curl.
> I am able to use WinSCP to get files from the same JScape server via sftp
> for the same account.
I'm not very familiar with how WinSCP works at the protocol level so I'm
afraid it doesn't help me a whole lot. Perhaps it uses a different SFTP
protocol version for example and the server speaks that version differently?
(not saying it actually does, but I can't really tell).
> So far I don't know what the problem came from and how to resolve it? Is it
> worth to call libssh2 directly from the C++ -program?
That can indeed help to track down the problem better but I suspect that
you'll get the same problem even when you use libssh2 directly as I believe
you see an issue at SFTP protocol level and that's about libssh2 internals
either way.
One thing libssh2 can help you with, is very extensive and verbose logging of
what goes on at protocol level.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-02-21