]> granicus.if.org Git - curl/commitdiff
curl_easy_setopt.3: CURLOPT_DIRLISTONLY implies dir list
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 Oct 2010 17:52:53 +0000 (19:52 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Oct 2010 17:52:53 +0000 (19:52 +0200)
Make it explicit that setting CURLOPT_DIRLISTONLY to 1 will make libcurl
to list the directory.

docs/libcurl/curl_easy_setopt.3

index 6452c2a2ce8d2440db2ba22c4da36764d95a2560..9da53792b7edeee6e46a6db39ed45f549f8feb1e 100644 (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.