On 30 March 2011 10:36, Daniel Stenberg <[email protected]> wrote:
> On Wed, 30 Mar 2011, Alexander Lamaison wrote:
>
>> The current git head doesn't deal with SFTP write errors (see line 1681 of
>> sftp.c [1]).  They are ignored and treated as success.  We'll have to fix
>> this before the next release.
>
> Ah, thanks for the reminder. I've just pushed a fix...

Thanks Daniel.  I can confirm your fix solves the problem.

I still have one failing test that excercises 'large' writes.  It
tries to write 1,000,000 bytes to the target but only manages to write
something between 30,000 and 100,000 bytes.  If I step through it
using the debugger it works fine so it's probably related to network
timing.  I believe the problem affects reading too.

I'll try to put together a self-contained test-case that reproduces the problem.

Alex

P.S. Testing done on Windows 7 x64

--
Swish - Easy SFTP for Windows Explorer (http://www.swish-sftp.org)

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

Reply via email to