From: Daniel Stenberg Date: Tue, 7 May 2002 23:36:53 +0000 (+0000) Subject: Patrick Smith's contributed docs improvements for when NLST is used by X-Git-Tag: curl-7_9_7~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20d9c1b30d305adf459a6bb496e410a8ad7c8169;p=curl Patrick Smith's contributed docs improvements for when NLST is used by curl... --- 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