From 3aef3ed8f6b894ec25cff7d4fe96084413dd049c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 1 Oct 2010 19:52:53 +0200 Subject: [PATCH] curl_easy_setopt.3: CURLOPT_DIRLISTONLY implies dir list Make it explicit that setting CURLOPT_DIRLISTONLY to 1 will make libcurl to list the directory. --- docs/libcurl/curl_easy_setopt.3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 6452c2a..9da5379 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1263,6 +1263,9 @@ 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. +Setting this option to 1 also implies a directory listing even if the URL +doesn't end with a slash, which otherwise is necessary. + Do NOT use this option if you also use \fICURLOPT_WILDCARDMATCH\fP as it will effectively break that feature then. -- 2.7.4