note 107625 deleted from function.ftp-nlist by tularis
| From: | tularis@php.net | Date: | Wed, 22 Feb 2012 21:06:09 +0000 |
| Subject: | note 107625 deleted from function.ftp-nlist by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-186298@lists.php.net to get a copy of this message | ||
Note Submitter: Alex
----
If there are dots in the name
// assuming its a folder if there's no dot in the name
if (strpos($currentFile, '.') === false) {
should replaced by
// if ftp_chdir seccess
if(@ftp_chdir($ftpConnection,$currentFile)) {