// The ftp_nlist() function returns a list of files in the specified directory on the FTP server. ftp_nlist($ftp_conn, $dir); // RETURNS: "An array of file names from the specified directory on success, FALSE on failure" // version: 4+