public function rename($old, $new) { if (!$this->check_login()) { return false; } return ftp_rename($this->conn_id, $old, $new); }