From 09cee1633b0dd6e079f53047f7a6fc97bb1b1ef8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 28 Aug 2010 23:07:21 +0200 Subject: CURLOPT_DIRLISTONLY: don't use with CURLOPT_WILDCARDMATCH --- docs/libcurl/curl_easy_setopt.3 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs/libcurl/curl_easy_setopt.3') diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index aa2a3aff2..6452c2a2c 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 -- cgit v1.2.3