API17:JFTP::listDetails
From Joomla! Documentation
JFTP::listDetails
Description
Method to list the contents of a directory on the FTP server.
public function listDetails (
$path=null
$type= 'all'
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | string | null | Path to the local file to be stored on the FTP server |
| $type | string | 'all' | all|folders|files] |
| boolean | $searchRecursivelysearchsubdirectories |
- Returns mixed : if $type is raw: string Directory listing, otherwise array of string with file-names
- Defined on line 1069 of libraries/joomla/client/ftp.php
- Referenced by
See also
JFTP::listDetails source code on BitBucket
Class JFTP
Subpackage Client- Other versions of JFTP::listDetails
User contributed notes
Code Examples