Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

file download

Discussion in 'General Discussion' started by dkm0038, Dec 22, 2009.

  1. dkm0038

    dkm0038 Registered

    Joined:
    Dec 22, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    I have a webpage "www.website.html" and a program "program.exe" all in the public_html folder. in the webpage code there is a link to run the program...

    <a href="program.exe">link</a>

    whenever you click on it tho it trys to open it as a webpage and not download it...

    www.website.html/program.exe

    what am i doing wrong???
     
  2. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    66
    Please make sure that you have added proper MIME type for your program in your domain. However, i think it is not possible to support .exe files in the linux server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice