Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    1

    Default file download

    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. #2
    Member
    Join Date
    Jan 2008
    Posts
    141

    Default

    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.

Similar Threads & Tags
Similar threads

  1. download file from file manager with symbolic link
    By tata13 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-26-2010, 11:55 PM
  2. Continuously file download
    By Sixfeetunder in forum Optimization
    Replies: 10
    Last Post: 07-18-2009, 03:23 AM
  3. Zip File for Download from File Manager
    By Cissell in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-15-2006, 08:49 AM
  4. download a 3G file
    By wintersun892 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 05-29-2006, 11:45 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube