I Need a script that will change the name of a file when it is getting downloaded.

for example:

the file getting downloaded has a name "File.mp4"

and when the user downloads it i need it to be "Title.mp4"