From 0f425b01aa37aea99c1cfab1646f3e5f38b65c90 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 22 Aug 2001 11:24:57 +0000 Subject: CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new --- lib/url.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/url.c b/lib/url.c index 76c2c732b..6a0d62a81 100644 --- a/lib/url.c +++ b/lib/url.c @@ -430,9 +430,12 @@ CURLcode Curl_setopt(struct UrlData *data, CURLoption option, ...) */ data->bits.http_follow_location = va_arg(param, long)?TRUE:FALSE; 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; break; -- cgit v1.2.3