cURL / Mailing Lists / curl-library / Single Mail

curl-library

sftp download issue

From: Sumukh Anantha Manohar <am.sumukh_at_gmail.com>
Date: Tue, 23 Aug 2011 10:23:59 +0530

Hi.
I am trying to download more than 2GB file using sftp protocol with the
following softwares

curl 7.21.7 (sparc-sun-solaris2.10)
libcurl/7.21.7
OpenSSL/0.9.7d
zlib/1.2.3
libssh2/1.2.9

All the above softwares and libraries are of 64-bit.

Platform: 64 bit solaris

I am getting the error:
*curl: (18) transfer closed with 1174 bytes remaining to read.

This is happening only for sftp protocol, not for ftp. So from where the
problem is arising ?

When i used libssh2 with version 1.2.7, i was getting bad file size for more
than 2GB.
When i used the latest version of libssh2 (1.2.9), it is downloading but at
the end i will get the above error mentioned. This problem is
happening even for downloading 1GB files also.

Please help me regarding this issue.....

Thanks
*

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-23