aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-03-30 01:13:47 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-03-30 01:13:47 +0000
commitffb11ad5c69a71f12b8e28912019e87bdfa76d35 (patch)
tree311d56de43d2a34a88266d63b7b26dafc5705214 /lib
parentfbb1e49215e613b0462ba2d154c545424640f4bf (diff)
Don't tear down the ftp connection if the maximum filesize was exceeded
and added tests 290 and 291 to check.
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c1
1 files changed, 1 insertions, 0 deletions
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 */