bool
public function _cleanFile() {
$this
->_close();
// ----- Look for a local copy
if ($this->_temp_tarname != '') {
// ----- Remove the local copy but not the remote tarname
@drupal_unlink($this->_temp_tarname);
$this->_temp_tarname = '';
}
else {
// ----- Remove the local tarname file
@drupal_unlink($this->_tarname);
}
$this->_tarname = '';
return true;
}