CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new
This commit is contained in:
parent
c5a4b52d83
commit
0f425b01aa
@ -430,9 +430,12 @@ CURLcode Curl_setopt(struct UrlData *data, CURLoption option, ...)
|
|||||||
*/
|
*/
|
||||||
data->bits.http_follow_location = va_arg(param, long)?TRUE:FALSE;
|
data->bits.http_follow_location = va_arg(param, long)?TRUE:FALSE;
|
||||||
break;
|
break;
|
||||||
case CURLOPT_FTPASCII:
|
case CURLOPT_TRANSFERTEXT:
|
||||||
/*
|
/*
|
||||||
* Transfer FTP using ASCII instead of BINARY.
|
* This option was previously named 'FTPASCII'. Renamed to work with
|
||||||
|
* more protocols than merely FTP.
|
||||||
|
*
|
||||||
|
* Transfer using ASCII (instead of BINARY).
|
||||||
*/
|
*/
|
||||||
data->bits.ftp_ascii = va_arg(param, long)?TRUE:FALSE;
|
data->bits.ftp_ascii = va_arg(param, long)?TRUE:FALSE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user