Active
Project:
File Force Download
Version:
7.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 May 2014 at 19:07 UTC
Updated:
21 May 2014 at 19:07 UTC
I am manually creating a download link using a custom PHP field in Views to output the link to the file.
Is it possible to change the name of the downloaded file using a manual conversion?
e.g.
l('linktext', file_force_create_url(/original_file_name.png), array('query' => array('download' => '1')))
would be changed so that it was downloaded as new_file_name.png