www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Fw: libssh2 nonblocking sftp write fails with Tectia SFTP server in Windows

Fw: libssh2 nonblocking sftp write fails with Tectia SFTP server in Windows

From: Ismail Aseen <ismaildeh_at_yahoo.com>
Date: Fri, 7 Aug 2015 03:57:48 +0000 (UTC)

I have attached more detailed logs for the above mentioned problem when transferring large files using Tectia - libssh2 combination.

The file transfer is hanging,  expectingfew bytes which never arrives in the client side. I strongly believe thisissue is due to a protocol mismatch between the client and the server. Goingthrough the logs,  I found that libsh2 client is expecting a packet type101  and while the server is keep on sending  packet type 200, which I am not aware. I used Tectia SFTP server- in Windows 7.  Please note that this problem only exist with libssh2-1.4.2 (Which is the Redhat supported maximum version for us), I tried with libssh2-1.6.0, it worked fine. Could you all can give me a clue to sort out this problem.

Thanks & Regards,Ismail

      On Monday, 3 August 2015, 23:30, Ismail Aseen <ismaildeh_at_yahoo.com> wrote:

 Hi Peter,
I have attached log you requested, Will be great if you can give me a clue, I doubt Tectia sending a packet which is unknown to the libssh2 client.Thanks,Ismail

     On Monday, 3 August 2015, 22:08, Peter Stuge <peter_at_stuge.se> wrote:

 Ismail Aseen wrote:
> Thanks for the prompt response. I did enable the debug mode and now
> it is printing as : "Wants 3 bytes from channel" Do ypu have any
> idea, why this happens?

Send the complete trace output, otherwise noone can help you.

libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel



libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2015-08-07

the libssh2 team