ftp_nlist Returns a list of files in the given directory &reftitle.description; arrayftp_nlist resourceftp_stream stringdirectory &reftitle.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 some issues with filenames containing spaces and other characters. &reftitle.returnvalues; Returns an array of filenames from the specified directory on success or &false; on error. &reftitle.examples; <function>ftp_nlist</function> example ]]> &example.outputs.similar; string(11) "public_html" [1]=> string(10) "public_ftp" [2]=> string(3) "www" ]]> &reftitle.seealso; ftp_rawlist