Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. html code to put an executable on a web page

html code to put an executable on a web page

Scheduled Pinned Locked Moved Web Development
htmlapachesysadminwindows-adminhelp
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ask_you
    wrote on last edited by
    #1

    well, i tried to put an executable on a web page so that it can be downloaded. the code was CLICK HERE TO DOWNLOAD THE EXE FILE The code worked when i put the web page on apache web server. but its simply not working for IIS. can anyone point me out where the problem is?

    C J 2 Replies Last reply
    0
    • A ask_you

      well, i tried to put an executable on a web page so that it can be downloaded. the code was CLICK HERE TO DOWNLOAD THE EXE FILE The code worked when i put the web page on apache web server. but its simply not working for IIS. can anyone point me out where the problem is?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Have you tried putting it in a zip ? That way it will be smaller, for a start. Why is it not working ( that is, what is it not doing ) ? Christian Graus - Microsoft MVP - C++

      A 1 Reply Last reply
      0
      • C Christian Graus

        Have you tried putting it in a zip ? That way it will be smaller, for a start. Why is it not working ( that is, what is it not doing ) ? Christian Graus - Microsoft MVP - C++

        A Offline
        A Offline
        ask_you
        wrote on last edited by
        #3

        ya, its in zipped format. by not working i mean that the code < a href ="myexe/Setup.exe" > < b > CLICK HERE TO DOWNLOAD CAIR PERSONAL FIREWALL < /b >< /a > is working fine when i put this web page on a apache web server.(its downloading the file). but when i put this web page on IIS server, it does not download. its tries and finally times out

        V 1 Reply Last reply
        0
        • A ask_you

          ya, its in zipped format. by not working i mean that the code < a href ="myexe/Setup.exe" > < b > CLICK HERE TO DOWNLOAD CAIR PERSONAL FIREWALL < /b >< /a > is working fine when i put this web page on a apache web server.(its downloading the file). but when i put this web page on IIS server, it does not download. its tries and finally times out

          V Offline
          V Offline
          Vasudevan Deepak Kumar
          wrote on last edited by
          #4

          Regarding the timeout, ensure that the IIS does not try executing it. Execute permissions should be turned off otherwise, IIS will try to execute the DLL/EXE and similar types. I think as goes the previous discussion, try with a zipped version, to save bandwidth over the network pipe. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

          A 1 Reply Last reply
          0
          • V Vasudevan Deepak Kumar

            Regarding the timeout, ensure that the IIS does not try executing it. Execute permissions should be turned off otherwise, IIS will try to execute the DLL/EXE and similar types. I think as goes the previous discussion, try with a zipped version, to save bandwidth over the network pipe. Deepak Kumar Vasudevan Personal Web: http://vdeepakkumar.netfirms.com/ I Blog At: http://deepak.blogdrive.com/

            A Offline
            A Offline
            ask_you
            wrote on last edited by
            #5

            thanks.. i had given execute permission for EXE. i have configured it properly and its running now

            1 Reply Last reply
            0
            • A ask_you

              well, i tried to put an executable on a web page so that it can be downloaded. the code was CLICK HERE TO DOWNLOAD THE EXE FILE The code worked when i put the web page on apache web server. but its simply not working for IIS. can anyone point me out where the problem is?

              J Offline
              J Offline
              JoostV
              wrote on last edited by
              #6

              Go to the MIME headers in the IIS Manager of the website and add .exe files to be downloaded. This should do the trick

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups