jagguy
asked on
download to folder
Hi, In cakephp I can download a file from the server as below.
It works fine and I get a window to save or open.
I dont want this window appearing as I want to download to a folder on my computer without this window appearing.
How can I code it to save to a specific folder ?
It works fine and I get a window to save or open.
I dont want this window appearing as I want to download to a folder on my computer without this window appearing.
How can I code it to save to a specific folder ?
$filename='Excel/'.$timesheet['TimeSheet']['excel_filename'];
$filesave=$timesheet['TimeSheet']['excel_filename'];
debug($filename);
$this->response->file($filename, array('download' => true, 'name' => $filesave));
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.