ftp_base::features
Method of the class: ftp_base{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ftp_base = new ftp_base(); $ftp_base->features();
ftp_base::features() ftp base::features code WP 7.0
function features() {
if(!$this->_exec("FEAT", "features")) return FALSE;
if(!$this->_checkCode()) return FALSE;
$f=preg_split("/[".CRLF."]+/", preg_replace("/[0-9]{3}[ -].*[".CRLF."]+/", "", $this->_message), -1, PREG_SPLIT_NO_EMPTY);
$this->_features=array();
foreach($f as $k=>$v) {
$v=explode(" ", trim($v));
$this->_features[array_shift($v)]=$v;
}
return true;
}