Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running scripts from remote web portal 1

Status
Not open for further replies.

GlowingBlueMist

Technical User
Sep 16, 2003
3
US
We have a remote Unix based web portal that we would like to use to run Procomm scripts residing on a remote Windows 2000 machine. The two computers will have IP connectivity between them.

Question, is this possible and if so how should we go about it? If possible any examples or sample code would be appreciated.
 
After doing some more looking around it appears that using something like rshd (Remote Shell Service Daemon) may be the way for me to go with this.

Using the Daemon the Win2000 box would look like another remote Unix slave to the host Unix web server.

If I understand the "rshd" docs any Procomm script that I can run from the command line on the Win2000 machine could be remotely run by a Unix box like the web hosting server.
 
If the scripts are compiled, you could put the .WAX file on the website, then open or run it (whichever option your browser gives you) when a link is clicked or URL entered in the browser. When you do so, Procomm will be launched to run the .WAX file and the script will then be executed.

One more comment after re-reading your message, there is no way to run a Procomm script on Unix so I may have misunderstood what you are looking to do. The Unix portal could display a link to the .WAX file on the Win2K machine that other systems (with Procomm installed) could then run over the network.


aspect@aspectscripting.com
 
Thanks for the feedback Knob,
Procomm and the scripts would reside on the Win2000 box.
We wanted to use the remote web portal (unix) to connect to the Win2000 box and start a Procomm script running. The same web portal would later collect a log file that the script created and make display the results from the portal.

It looks like using the "rshd" daemon program on the Win2000 box makes it look/feel like a unix slave (only) to the remote host but with the ability to run native windows programs or anything that can be run from a windows command line or shell such as Procomm scripts. At least that is what I think the documentation for "rshd" is saying.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top