| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
Client |
JFTP |
syst |
syst() |
Never | Work in Progress |
Method to retrieve the system string from the FTP server. This is either ‘WIN’, ‘MAC’ or ‘UNIX’. This method uses the syst command which may not be implemented on all FTP servers.
string syst ()
Example
jimport( 'joomla.connector.ftp' ); $ftp = new JFTP( array( 'type' => FTP_BINARY ) ); $ftp->connect( '127.0.0.1' ); $ftp->login( 'testuser', 'testpass' ); echo $ftp->syst();
might produce:
Result
UNIX