note 38758 added to function.ftp-rawlist
| From: | php-general at lists dot php dot net | Date: | Tue, 06 Jan 2004 08:22:48 +0000 |
| Subject: | note 38758 added to function.ftp-rawlist | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-62986@lists.php.net to get a copy of this message | ||
Clue:
If you write
<?php
rawlist ($ftp, "-a");
?>
The command will be "LIST -a", so the retuned list will also contain hidden files like
".htaccess".
In this case all files and folders of the current directory are contained.
To list another folder, you must change to it with "ftp_chdir".
----
Manual Page -- http://www.php.net/manual/en/function.ftp-rawlist.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+38758
Delete -- http://master.php.net/manage/user-notes.php?action=delete+38758&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+38758&report=yes
Search -- http://master.php.net/manage/user-notes.php