curl-library
scp upload failure with CURLE_SEND_ERROR in windows
Date: Thu, 11 Feb 2010 11:21:31 +0100
Hello members,
I'm using libCurl in Windows to transfer a file using scp.
Transferring a small file (1 kB) works fine.
Transferring a large file (16 MB) fails with the error code CURLE_SEND_ERROR (Failed sending data to the peer). Using WinSCP transfers the larger file without any problems. Every time I try to transfer the larger file using libCurl, 2093056 bytes have been transferred.
I'm thankful for any reply suggesting what could be wrong.
Compilation is done with Visual Studio 2008, OS is WinXP, server to send files to runs CentOS 5.3 (Linux).
curl ver 7.20.0
libssh2 ver 1.2.3
openssl ver 1.0.0 beta5
/AB
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-11