File Attachment with .html

Home \ forums/topic \ File Attachment with .html

Support Home Page Forums Joomla Software Easy Folder Listing Pro Plugin File Attachment with .html

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #140


    after downloading with Safari (Mac OS X) to get the attachment for. html.

    For example: the name of file on the Server myfile.pdf

    After download: myfile.pdf.html

    I have easy folder listing pro

    Please help!

    Michael Gilkes

    @Kami. Thanks for your question. This issue with Safari and the addition of the “.html” is not exclusive to the plugin. However, you may be able to try somethings to see if it makes a difference. When I test the plugin using Safari on my MAMP server, I do not get this issue. So, since I am unable to replicate your problem, I can only make some suggestions on possible ways to fix it.

    From what I understand it could be the Content-Type setting. So what you can do is open “download.php” and change “header(“Content-Type: application/octet-stream”);” to either:

    header(“Content-Type: application/force-download”);


    header(“Content-Type: application/x-download”);

    Let me know how it turns out.


    My English is not good. This is the google translation

    I’ve been using “force-download” tried and it worked straight away, great!

    Thank you for your support!


    I’m pretty new to Joomla.

    Where was this “download.php” located again?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘File Attachment with .html’ is closed to new replies.