ftp_nlist

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

ftp_nlist -- 指定したディレクトリのファイルの一覧を返す

説明

int ftp_nlist (int ftp_stream, string directory)

成功時にファイル名の配列を、エラー時に false を返します。