public function pwd() { if (!$this->check_login()) { return false; } return ftp_pwd($this->conn_id); }