====== __construct ====== {#JAPI Joomla.Framework Client JFTP::__construct #} This is the class constructor. It sets up the transfer type and determines what OS the server is running. ===== Syntax ===== JFTP __construct ( **$options** ) | **$options** | array | is an associative array of options for configuring the FTP client. The only recognized option is 'type', which can be one of three constants: FTP_AUTOASCII, FTP_BINARY or FTP_ASCII. | ===== Examples ===== jimport( 'joomla.connector.ftp' ); $ftp = new JFTP( array( 'type' => FTP_BINARY ) );