Hi and this solution probably is very simple for an expert, but my skills are very poor and I had to google around hours to find it
I manage a FLARUM PRODUCTION SITE and we exchange "strange extension" files for the forex trading platform Metatrader
These extensions are .mq4 .mq5 .ex4 .ex5 .cAlgo and by default FLARUM (or my hosting... I don't know) displays a page with the code... but you can't copy and paste it because it looses the correct format
At the end I find this simple solution and I hope it can help others
Simply add this line at the end of your .htaccess file in the root of your FLARUM site using whatever text editor you want
AddType application/octet-stream .mq4 .mq5 .ex4 .ex5 .cAlgo
Then ftp or upload the .htaccess and restart your site (if your hosting gives you this option) or simply... wait
In my case I can't directly stop and restart my site, so the solution didn't work immediately but the following day it was operative without further problem
...as I told only a two cents solution but I spent hours to find it ?