public function delete($remote_file = null)
    {
        if (\ftp_delete($this->_stream, $remote_file)) {
            return true;
        }

        $this->error = 'Failed to delete file "'.$remote_file.'"';

        return false;
    }