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.
This commit is contained in:
Daniel Stenberg 2010-10-01 19:52:53 +02:00
parent 488f9545a2
commit 3aef3ed8f6
1 changed files with 3 additions and 0 deletions

View File

@ -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.