Re: Listing Directories of FTP
| From: | Ignacio Vazquez-Abrams | Date: | Mon, 11 Dec 2000 22:19:17 +0000 |
| Subject: | Re: Listing Directories of FTP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29758@lists.php.net to get a copy of this message | ||
On Mon, 11 Dec 2000, Brandon Orther wrote:
> Hello,
>
> I am working on a script that uses ftp to browse a users files on our
> server. I only want it to show folders and not files. Is there an easy way
> to do that. Or even a hard way.
>
> Thanks
> Brandon
>
Send an "ls -F" and pick off the files that end with "/".
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>