public function __destruct() { $this ->_close(); // ----- Look for a local copy to delete if ($this->_temp_tarname != '') { @drupal_unlink($this->_temp_tarname); } }