Support Joomla!

references:joomla.framework:client:jftp-syst

Table of Contents

syst

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Client Class JFTP Method syst Reference 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.

Syntax

string syst ()

Examples

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
 
references/joomla.framework/client/jftp-syst.txt (557 views) · Last modified: 2007/08/15 15:13