public function get($local, $remote, $mode = FTP_BINARY) { if (!ftp_get($this->conn, $local, $remote, $mode)) { throw new Exception('Error: There was an error getting the file ' . $remote); } return $this; }