Sivakatirswami wrote:

> 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.

If you can open a socket to it, you can send it a script as textual data,
and then simply send some terminator, after which the receiving stack uses
the "do" command on it.

I've done limited tests with that sort of thing here, and it's a kick -- all
the things you like about Apple events but without platform limitations.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Multimedia Design and Development for Mac, Windows, UNIX, and the Web
 _____________________________________________________________________
 [EMAIL PROTECTED]                 http://www.FourthWorld.com
 Tel: 323-225-3717           ICQ#60248349            Fax: 323-225-0716



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