aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/curl.14
-rw-r--r--docs/libcurl/curl_easy_setopt.34
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index 5fa130f07..01b89fb50 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -329,6 +329,10 @@ Especially useful if you want to machine-parse the contents of an FTP
directory since the normal directory view doesn't use a standard look
or format.
+This option causes an FTP NLST command to be sent. Some FTP servers
+list only files in their response to NLST; they do not include
+subdirectories and symbolic links.
+
If this option is used twice, the second will again disable list only.
.IP "-L/--location"
(HTTP/HTTPS) If the server reports that the requested page has a different
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index c1c7c636e..343b4592e 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -171,6 +171,10 @@ will imply this option.
A non-zero parameter tells the library to just list the names of an ftp
directory, instead of doing a full directory listing that would include file
sizes, dates etc.
+
+This causes an FTP NLST command to be sent. Beware that some FTP servers
+list only files in their response to NLST; they do not include
+subdirectories and symbolic links.
.TP
.B CURLOPT_FTPAPPEND
A non-zero parameter tells the library to append to the remote file instead of