Closed Aliakbari1994 closed 4 years ago
@Aliakbari1994 Hello you can change the file name with DownloadAction, for this use the second argument, sample:
$action = new DownloadFileAction('text.txt', 'other_file_name.txt');
$magiclink = MagicLink::create($action);
Then you donwload the file called other_file_name.txt
I want to change the file name when downloading the file. What can I do about this?