I have this code that rename a file name when downloading but is not working for files from AWS S3
code:
<a href="https://gzfiles.s3.amazonaws.com/1450501725_test1.mp3" download="file.mp3">DOWNLOAD</a>
It works when the href is from another server but not from AWS S3.