ftp_base::restore() –
You appear to be a bot. Output may be restricted
Description
Usage
ftp_base::restore( $from );
Parameters
- $from
- ( mixed ) required –
Returns
void
Source
File name: wordpress/wp-admin/includes/class-ftp.php
Lines:
1 to 14 of 14
function restore($from) { if(!isset($this->_features["REST"])) { $this->ftp_base::PushError("restore", "not supported by server"); return FALSE; } if($this->_curtype!=FTP_BINARY) { $this->ftp_base::PushError("restore", "cannot restore in ASCII mode"); return FALSE; } if(!$this->_exec("REST ".$from, "resore")) return FALSE; if(!$this->ftp_base::_checkCode()) return FALSE; return TRUE; }