cURL / Mailing Lists / curl-library / Single Mail


RE: An SFTP Upload Problem. Data transfer.

From: Daniel Stenberg <>
Date: Mon, 21 Apr 2008 23:53:59 +0200 (CEST)

On Mon, 21 Apr 2008, Pavel Shalagin wrote:

Please don't top-post!

> After some experimenting I found that libssh2_sftp_write() inside
> Curl_sftp_send in ssh.c permanently returns LIBSSH2_ERROR_EAGAIN in libcurl.

That sounds like a libssh2 bug then? I mean, if the socket reports writable
then certainly it should write at least something?

> Another strange thing is that channel->local.window_size is 0 at the moment
> when it is checked in channel.h (line 1709) and libssh2_packet_read() is
> called.

Could that possibly be a separate bug or related to the previous one?

Is this problem easy to repeat for you?

  Commercial curl and libcurl Technical Support:
Received on 2008-04-21