cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: No subdirectories in ftp directory listings

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 May 2002 10:16:27 +0200 (MET DST)

On Mon, 6 May 2002, Patrick Smith wrote:

[ NLST shows only files on wu-ftpd, while LIST shows everything. ]

> So perhaps something should be done about this in curl, if only to note
> this possibility in the man pages (with --list-only in curl(1) and
> CURLOPT_FTPLISTONLY in curl_easy_setopt(3)).

If the NLST behavior isn't good enough, you can always change the list
command using the -X option. The problem of course occurs if you want to get
a machine-readable directory listing back, as the LIST one is far from that
(it isn't even the same on different server implementations).

If anyone could help me get some of that wu-ftpd FAQ explanation text into
the manuals for the --list-only / CURLOPT_FTPLISTONLY options, I would be
very happy.

Oh, and yes, the RFC959 description text for NLST seems to support what the
wu-ftpd guys are saying.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-07