Mattis
-
Total Posts
:
9
- Scores: 0
-
Reward points
:
0
- Joined: 4/9/2006
-
Status: offline
|
Run files on the server?
Thursday, April 13, 2006 10:01 AM
( permalink)
Seasoons Greetings! I have a file test.exe that I'm trying to run on my server. It lives in /wwwroot/ on my IIS server with read and run permissions. According to my book it should run from there, but every time I try to go there with http://localhost/test.exe, nothing happens. If I try to replace /localhost/ with /127.0.0.1/ the webbrowser downloads the file, even when I tell it to execute. My question is: Should I have to tell the browser what to do, shouldn't it just run? Is there a folder programs should reside in? and When you write VBscripts, is it ok to use a texteditor and just name them .vbs, where should they go? Thanks for your help Nugget
|
|
|
|
ebgreen
-
Total Posts
:
8227
- Scores: 98
-
Reward points
:
0
- Joined: 7/12/2005
-
Status: online
|
RE: Run files on the server?
Monday, April 17, 2006 2:56 AM
( permalink)
I am not a server-side scripter, so my answers will be somewhat limited: Should I have to tell the browser what to do, shouldn't it just run? I don't believe that web browsers in general will execute files. I would think that would be a huge security hole. If you want to execute the file I think you may need to do it through VBScript within a page. Is there a folder programs should reside in? As far as I know, wwwroot should work. I've seen people create a \Scripts subfolder so they can control exe permissions before as well. When you write VBscripts, is it ok to use a texteditor and just name them .vbs? Yes. where should they go? See the question about where programs should reside.
|
|
|
|