ftp_nlist
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
-
ftp_stream
-
The link identifier of the FTP connection.
-
directory
-
The directory to be listed. This parameter can also include arguments, eg. ftp_nlist($conn_id, "-la /your/dir"); Note that this parameter isn't escaped so there may be som