PHP | ftp_nlist() function
The ftp_nlist() function is an inbuilt function in PHP which is used to get the list of all the filename and sub-directory in a specific directory on FTP server. Syntax:Â ftp_nlist( $ftp_connection, $directory ); Parameters: This function accepts two parameters as mentioned above and described below