ftp_nlist

(PHP3 >= 3.0.13, PHP4 >= 4.0b4)

ftp_nlist -- Returns a list of files in the given directory.

Description

array ftp_nlist (int ftp_stream, string directory)

Returns an array of filenames on success, false on error.