Can I write an MC "cgi" that will simply trigger a stack on a distant site?

i.e. I have MC running on a distant server, running Apache over Linux, where
I have FTP access and MC is enabled also to run cgi's but I don't have
"terminal GUI interface" access.

It would seem a lot easier to build certain tools as stacks, ftp the stack
to the site and then "run it" some how. These are operations where I am not
reading standardIN and not processing standardOut back to the browser, but
doing global text manipulations on files on the server.

But the trick is to "trigger" it...i.e. make it execute.

could it really be as simple as putting this in a browser:

"http://www.myDistantDomain/cgi-bin/runStack.cgi";

where the .cgi script is just:

#!/usr/local/bin/mc
 
on start up
  send mouseup to button "SearchReplace" of stack
"/tmp/mcstacks/siteAdmin.mc"
end startup


Well, of course I will just go ahead and test this myself, but then maybe
someone has already been there, done that and has useful advice?

Or, is there a way to  "talk to" the "siteAdmin.mc" stack via telnet?
kind of like a distant message box:

"send mouseup to button 1 of stack "/tmp/mcstack/stackAdmin.mc"

thanks!

Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED] 
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org



Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to