The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    16
    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.
     
Loading...

Share This Page