Subject: Re: sftp shutdown error with MessageWay

Re: sftp shutdown error with MessageWay

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 22 Mar 2010 23:44:08 +0100 (CET)

On Sat, 20 Mar 2010, Matt Wixson wrote:

> The file is transferred completely, the file size on the client matches the
> file size on the server, but the process hangs for several minutes and then
> I receive an error from close. I know this isn't a curl list but the curl
> output happens to be:
> libssh2_sftp_close: Resource temporarily unavailable (this is output from
> perror after the call to libssh2_sftp_close())
> curl: (56) Failure when receiving data from the peer
>
> Here is the debug information from SSH2:
> trace output here...I see the complete file transfer
>
> PROCESS HANGS FOR SEVERAL SECONDS

What happens immediately before this "hang"?

> == Info: SSH DISCONNECT starts now

Instead of using libcurl for this, can you build a libssh2 sftp example
program instead, and enable full debugging and show us one of those? That's
the best kind of debug output we can get and we may actually spot something
using such a log.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-22