From ffb11ad5c69a71f12b8e28912019e87bdfa76d35 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 30 Mar 2007 01:13:47 +0000 Subject: Don't tear down the ftp connection if the maximum filesize was exceeded and added tests 290 and 291 to check. --- lib/ftp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/ftp.c b/lib/ftp.c index 69243684e..4fe25dc97 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -3020,6 +3020,7 @@ CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode status, bool premature case CURLE_FTP_COULDNT_RETR_FILE: case CURLE_FTP_COULDNT_STOR_FILE: case CURLE_FTP_ACCESS_DENIED: + case CURLE_FILESIZE_EXCEEDED: /* the connection stays alive fine even though this happened */ /* fall-through */ case CURLE_OK: /* doesn't affect the control connection's status */ -- cgit v1.2.3