From 20d9c1b30d305adf459a6bb496e410a8ad7c8169 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 7 May 2002 23:36:53 +0000 Subject: [PATCH] Patrick Smith's contributed docs improvements for when NLST is used by curl... --- docs/curl.1 | 4 ++++ docs/libcurl/curl_easy_setopt.3 | 4 ++++ 2 files changed, 8 insertions(+) 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