ftp_base::_list() –
You appear to be a bot. Output may be restricted
Description
Usage
ftp_base::_list( $arg, $cmd, $fnction );
Parameters
- $arg
- ( mixed ) optional –
- $cmd
- ( mixed ) optional default: LIST –
- $fnction
- ( mixed ) optional default: _list –
Returns
void
Source
File name: wordpress/wp-admin/includes/class-ftp.php
Lines:
1 to 22 of 22
function _list($arg="", $cmd="LIST", $fnction="_list") { if(!$this->_data_prepare()) return false; if(!$this->_exec($cmd.$arg, $fnction)) { $this->_data_close(); return FALSE; } if(!$this->ftp_base::_checkCode()) { $this->_data_close(); return FALSE; } $out=""; if($this->_code<200) { $out=$this->_data_read(); $this->_data_close(); if(!$this->_readmsg()) return FALSE; if(!$this->ftp_base::_checkCode()) return FALSE; if($out === FALSE ) return FALSE; $out=preg_split("/[".CRLF."]+/", $out, -1, PREG_SPLIT_NO_EMPTY); // $this->SendMSG(implode($this->_eol_code[$this->OS_local], $out)); } return $out; }