13 lines
374 B
Diff
13 lines
374 B
Diff
--- lib/ftp.c
|
|
+++ lib/ftp.c
|
|
@@ -3282,7 +3282,8 @@ static CURLcode ftp_range(struct connect
|
|
" to %" FORMAT_OFF_T ", totally %" FORMAT_OFF_T " bytes\n",
|
|
from, to, data->reqdata.maxdownload));
|
|
ftpc->dont_check = TRUE; /* dont check for successful transfer */
|
|
- }
|
|
+ } else
|
|
+ data->reqdata.maxdownload = -1;
|
|
return CURLE_OK;
|
|
}
|
|
|