SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Guru
    Join Date
    Feb 2006
    Location
    Chepstow, South Wales
    Posts
    915
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .exe file stored on the server, click to allow to play through browser

    I have a situation where a client is manually uploading .exe files to the server, as they are marketing presentations.

    When the visitor goes to a certain page, there a script that it looking to detect of its a .pdf or a .exe file...

    The pdf option is fine, but I seem to be having trouble simply opening that .exe file and running it via that link in thr browser, has anyone any options to show.

  2. #2
    Community Advisor bronze trophy
    fretburner's Avatar
    Join Date
    Apr 2013
    Location
    Brazil
    Posts
    1,446
    Mentioned
    45 Post(s)
    Tagged
    13 Thread(s)
    .exe files won't open in the browser, the only option for the user would be to download them, and then they would have to choose to run them locally.

    To be honest though, I'm not sure how many people would feel comfortable dl and running executable files, as they represent a security risk. Also, .exe files are only relevant to Windows users, so you're limiting your audience.
    "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies."

  3. #3
    SitePoint Guru
    Join Date
    Feb 2006
    Location
    Chepstow, South Wales
    Posts
    915
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok thanks, the issue of downloading them and running them locally is not an issue really, as the only people having access to these are the ones that need access to them if you know what I mean, so the security factor isnt a problem, and also the windows issue is fine I suppose.

    Sorry should have explained all that first...

    So do you have an example of how these exe files can be downloaded.

  4. #4
    Community Advisor bronze trophy
    fretburner's Avatar
    Join Date
    Apr 2013
    Location
    Brazil
    Posts
    1,446
    Mentioned
    45 Post(s)
    Tagged
    13 Thread(s)
    Quote Originally Posted by multichild View Post
    So do you have an example of how these exe files can be downloaded.
    You can just put a direct link to the file. When the user clicks, they'll start downloading the file (usually with .exe files, the browser will warn the user first).
    "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies."

  5. #5
    SitePoint Guru
    Join Date
    Feb 2006
    Location
    Chepstow, South Wales
    Posts
    915
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry fretburner,

    I was just workign on something and thought hang on how stupid is that, and rushed back to say sorry about that last question, and you had already replied.

    All is workign fine thank you.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •