Loading CHANGES +4 −0 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,10 @@ Changelog Changelog Patrick Monnerat (18 Feb 2009) - FTP downloads (i.e.: RETR) ending with code 550 now return error CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE. Daniel Stenberg (17 Feb 2009) Daniel Stenberg (17 Feb 2009) - Kamil Dudka made NSS-powered builds compile and run again! - Kamil Dudka made NSS-powered builds compile and run again! Loading lib/ftp.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -2427,7 +2427,8 @@ static CURLcode ftp_state_get_resp(struct connectdata *conn, } } else { else { failf(data, "RETR response: %03d", ftpcode); failf(data, "RETR response: %03d", ftpcode); return CURLE_FTP_COULDNT_RETR_FILE; return instate == FTP_RETR && ftpcode == 550? CURLE_REMOTE_FILE_NOT_FOUND: CURLE_FTP_COULDNT_RETR_FILE; } } } } Loading Loading @@ -3159,6 +3160,7 @@ static CURLcode ftp_done(struct connectdata *conn, CURLcode status, case CURLE_UPLOAD_FAILED: case CURLE_UPLOAD_FAILED: case CURLE_REMOTE_ACCESS_DENIED: case CURLE_REMOTE_ACCESS_DENIED: case CURLE_FILESIZE_EXCEEDED: case CURLE_FILESIZE_EXCEEDED: case CURLE_REMOTE_FILE_NOT_FOUND: /* the connection stays alive fine even though this happened */ /* the connection stays alive fine even though this happened */ /* fall-through */ /* fall-through */ case CURLE_OK: /* doesn't affect the control connection's status */ case CURLE_OK: /* doesn't affect the control connection's status */ Loading Loading
CHANGES +4 −0 Original line number Original line Diff line number Diff line Loading @@ -6,6 +6,10 @@ Changelog Changelog Patrick Monnerat (18 Feb 2009) - FTP downloads (i.e.: RETR) ending with code 550 now return error CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE. Daniel Stenberg (17 Feb 2009) Daniel Stenberg (17 Feb 2009) - Kamil Dudka made NSS-powered builds compile and run again! - Kamil Dudka made NSS-powered builds compile and run again! Loading
lib/ftp.c +3 −1 Original line number Original line Diff line number Diff line Loading @@ -2427,7 +2427,8 @@ static CURLcode ftp_state_get_resp(struct connectdata *conn, } } else { else { failf(data, "RETR response: %03d", ftpcode); failf(data, "RETR response: %03d", ftpcode); return CURLE_FTP_COULDNT_RETR_FILE; return instate == FTP_RETR && ftpcode == 550? CURLE_REMOTE_FILE_NOT_FOUND: CURLE_FTP_COULDNT_RETR_FILE; } } } } Loading Loading @@ -3159,6 +3160,7 @@ static CURLcode ftp_done(struct connectdata *conn, CURLcode status, case CURLE_UPLOAD_FAILED: case CURLE_UPLOAD_FAILED: case CURLE_REMOTE_ACCESS_DENIED: case CURLE_REMOTE_ACCESS_DENIED: case CURLE_FILESIZE_EXCEEDED: case CURLE_FILESIZE_EXCEEDED: case CURLE_REMOTE_FILE_NOT_FOUND: /* the connection stays alive fine even though this happened */ /* the connection stays alive fine even though this happened */ /* fall-through */ /* fall-through */ case CURLE_OK: /* doesn't affect the control connection's status */ case CURLE_OK: /* doesn't affect the control connection's status */ Loading