ftp_rawlist executes the FTP LIST command, and returns the result as an array.
An FTP\Connection instance.
The directory path. May include arguments for the LIST command.
If set to true, the issued command will be LIST -R.
Returns an array where each element corresponds to one line of text. Returns false when passed directory is invalid.
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.
|8.1.0||The ftp parameter expects an FTP\Connection instance now; previously, a resource was expected.|