cURL / Mailing Lists / curl-library / Single Mail

curl-library

Fix for Download on error with True64Unix 5.1

From: <christophe.legry_at_orsyp.com>
Date: Tue, 26 Apr 2005 16:24:26 +0200

Hello
 
When the FTP server not answer at the file size request, Curl return partial file status but file is OK.
I modifyed the source file ftp.c at line 2144 and it's work fine :
 
      if ( (size > conn->maxdownload && conn->maxdownload > 0)
         ||(size == 0)&&(conn->maxdownload == -1) )
        size = conn->size = conn->maxdownload;

 
Best regards
C.L.
 
Received on 2005-04-26