From: Daniel Stenberg Date: Sat, 28 Aug 2010 21:07:21 +0000 (+0200) Subject: CURLOPT_DIRLISTONLY: don't use with CURLOPT_WILDCARDMATCH X-Git-Tag: curl-7_21_2~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09cee1633b0dd6e079f53047f7a6fc97bb1b1ef8;p=thirdparty%2Fcurl.git CURLOPT_DIRLISTONLY: don't use with CURLOPT_WILDCARDMATCH --- diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index aa2a3aff2a..6452c2a2ce 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1259,9 +1259,12 @@ A parameter set to 1 tells the library to just list the names of files in a directory, instead of doing a full directory listing that would include file sizes, dates etc. This works for FTP and SFTP URLs. -This causes an FTP NLST command to be sent on an FTP server. Beware -that some FTP servers list only files in their response to NLST; they -might not include subdirectories and symbolic links. +This causes an FTP NLST command to be sent on an FTP server. Beware that some +FTP servers list only files in their response to NLST; they might not include +subdirectories and symbolic links. + +Do NOT use this option if you also use \fICURLOPT_WILDCARDMATCH\fP as it will +effectively break that feature then. (This option was known as CURLOPT_FTPLISTONLY up to 7.16.4) .IP CURLOPT_APPEND