On Tue, 12 Jun 2012, NEDJARI Hafed wrote:
* File already completely downloaded
... this originates from this source code:
/* Setup the actual download */
if(data->req.size == 0) {
/* no data to transfer */
Curl_setup_transfer(conn, -1, -1, FALSE, NULL, -1, NULL);
infof(data, "File already completely downloaded\n");
state(conn, SSH_STOP);
break;
}
It looks like libssh2_sftp_stat_ex() returned and said the file size is zero
bytes... I suggest you research that a bit closer.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html