From 3fa60164af98720696cf157158e78ad4e0540aba Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 31 Aug 2007 19:36:32 +0000 Subject: Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED. Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility. --- docs/libcurl/curl_easy_setopt.3 | 15 ++++++++------- docs/libcurl/libcurl-errors.3 | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'docs/libcurl') diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index f3da0014a..0e5d6afff 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -940,16 +940,17 @@ This option has no effect if PORT, EPRT or EPSV is used instead of PASV. Pass a long using one of the values from below, to make libcurl use your desired level of SSL for the ftp transfer. (Added in 7.11.0) -(This option was known as CURLOPT_FTP_SSL up to 7.16.4) +(This option was known as CURLOPT_FTP_SSL up to 7.16.4, and the constants +were known as CURLFTPSSL_*) .RS -.IP CURLFTPSSL_NONE +.IP CURLUSESSL_NONE Don't attempt to use SSL. -.IP CURLFTPSSL_TRY +.IP CURLUSESSL_TRY Try using SSL, proceed as normal otherwise. -.IP CURLFTPSSL_CONTROL -Require SSL for the control connection or fail with \fICURLE_FTP_SSL_FAILED\fP. -.IP CURLFTPSSL_ALL -Require SSL for all communication or fail with \fICURLE_FTP_SSL_FAILED\fP. +.IP CURLUSESSL_CONTROL +Require SSL for the control connection or fail with \fICURLE_USE_SSL_FAILED\fP. +.IP CURLUSESSL_ALL +Require SSL for all communication or fail with \fICURLE_USE_SSL_FAILED\fP. .RE .IP CURLOPT_FTPSSLAUTH Pass a long using one of the values from below, to alter how libcurl issues diff --git a/docs/libcurl/libcurl-errors.3 b/docs/libcurl/libcurl-errors.3 index 6aaf11db7..1d8f4e88b 100644 --- a/docs/libcurl/libcurl-errors.3 +++ b/docs/libcurl/libcurl-errors.3 @@ -173,7 +173,7 @@ Unrecognized transfer encoding Invalid LDAP URL .IP "CURLE_FILESIZE_EXCEEDED (63)" Maximum file size exceeded -.IP "CURLE_FTP_SSL_FAILED (64)" +.IP "CURLE_USE_SSL_FAILED (64)" Requested FTP SSL level failed .IP "CURLE_SEND_FAIL_REWIND (65)" When doing a send operation curl had to rewind the data to retransmit, but the -- cgit v1.2.3