note 34042 added to function.ftp-nlist
| From: | aRc at rack1 dot php dot net | Date: | Mon, 14 Jul 2003 17:46:29 +0000 |
| Subject: | note 34042 added to function.ftp-nlist | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52093@lists.php.net to get a copy of this message | ||
in windows, ftp_nlist will die on a directory with a space in it's name. to get around this,
use ftp_chdir:
//change directory
ftp_chdir($conn, "directory with spaces");
//then blindly list
$contents = ftp_nlist($conn, "");
----
Manual Page -- http://www.php.net/manual/en/function.ftp-nlist.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34042
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34042&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34042&report=yes