p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: Start/STOP and EXE within ASP


Message #1 by "isim" <alakale@y...> on Tue, 6 Mar 2001 01:05:00
Hi,

Although i have read all the EXE related topics here i couldnt find an 

answer to my Q. 

I want to Start/Stop an FTP server (a small exe) in my IIS 5.0 Server from 

intenet/my ASP pages. I'm not asking the question just for an FTP server 

it can be anyother exe that we normally run clicking on it. Is there a way 

to do this? I urgently need the ASP code, please help me, Thanks!
Message #2 by "Jonothon Ortiz" <jon@x...> on Tue, 6 Mar 2001 09:12:11 -0500
thought about using SSI for that?



Jonothon Ortiz

Senior Web Developer

Xnext, Inc.

Ph:  xxx.xxx.xxxx

or  888.84.XNEXT

http://www.Xnext.com

mailto:jon@x...



-----Original Message-----

From: isim [mailto:alakale@y...]

Sent: Tuesday, March 06, 2001 1:05 AM

To: ASP components

Subject: [asp_components] Start/STOP and EXE within ASP





Hi,

Although i have read all the EXE related topics here i couldnt find an

answer to my Q.

I want to Start/Stop an FTP server (a small exe) in my IIS 5.0 Server from

intenet/my ASP pages. I'm not asking the question just for an FTP server

it can be anyother exe that we normally run clicking on it. Is there a way

to do this? I urgently need the ASP code, please help me, Thanks!



Message #3 by "andy morris" <amorris1@m...> on Thu, 15 Mar 2001 18:04:07
> Hi,

> Although i have read all the EXE related topics here i couldnt find an 

> answer to my Q. 

> I want to Start/Stop an FTP server (a small exe) in my IIS 5.0 Server 

from 

> intenet/my ASP pages. I'm not asking the question just for an FTP server 

> it can be anyother exe that we normally run clicking on it. Is there a 

way 



You can run an EXE from ASP like this 

<%

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run "c:\winnt\system32\calc.exe",1,False

%>

But I personally would try to avoid this kind of thing, as only the Web 

Server can use or shut down the EXE because only it has permission!


  Return to Index