ftp_rawlist

 array ftp_rawlist ( resource $ftp_stream , string $directory [, bool $recursive = false ] ) 

説明

ftp_rawlist() executes the FTP LIST command, and returns the result as an array.

戻り値

Returns an array where each element corresponds to one line of text. The output is not parsed in any way. The system type identifier returned by ftp_systype() can be used to determine how the results should be interpreted.