Recently I switch from one hosting (A Hosting) to another hosting server (B Hosting). Previously my Mac's Safari using able to download the MP3 by, right click "Download Linked File As.." to save the MP3 to local machine.
However, once I switch to another hosting, with the same PHP code, same MP3. B Hosting webserver, cannot save the MP3, but only allow streaming from the website (Full Screen Audio Player). On the Safari Downloads Windows, it shows "Zero KB of ? - The requested URL was not found on this server." This is impossible. I believe it is same kind of setting in the server make this option not available.
After I did some research, some Mac User said that we can use "Option"+"Click" to download the MP3. This method works for A Hosting and B Hosting. I just want to know how to fix "Download Linked File As..." to make in work in B Hosting.
Thanks!
Update:-
A Hosting:
B Hosting:
As you can see A Hosting didn't have Content-Disposition
, but Safari don't have any issue to download the file. Is it really Content-Disposition
matter?