PHP » GoLang |
login |
register |
about
|
|
ftp_nlist(PHP 4, PHP 5, PHP 7) ftp_nlist — Returns a list of files in the given directory Description
array ftp_nlist
( resource
$ftp_stream
, string $directory
)Parameters
Return Values
Returns an array of filenames from the specified directory on success or
Examples
Example #1 ftp_nlist() example
<?phpThe above example will output something similar to:
array(3) {
[0]=>
string(11) "public_html"
[1]=>
string(10) "public_ftp"
[2]=>
string(3) "www"
See Also
|
more
Most requested
more
Last requests
|