CakePHP:Download file

← Torna a CakePHP

$this->response->file( $file_path, array(
    'download' => true,
    'name' => $report_title,
));
return $this->response;