ftp_nlist
PHP 4, PHP 5, PHP 7, PHP 8
ftp_nlist - Returns a list of files in the given directory
Code Examples
Example #1 ftp_nlist example
Result: array(3) {
[0]=>
string(11) "public_html"
[1]=>
string(10) "public_ftp"
[2]=>
string(3) "www"