On 25/02/2008, Luca Marazzi wrote in message <fpus8b$fru$1@[EMAIL PROTECTED]
>:
> mumble mumble...............but could applescript open a telnet session,
> log on, get a dos cmd prmpt, and run an exe automatically?
You wouldn't do it like that. Unless you're going to go to the trouble of
inventing an AI to deal with all the slight differences you'll see in the
responses to the commands. Far more likely that your remote computer will
just trigger a script on the server and the script will have all the
intelligence in it.
I'm also concerned about how much power you're giving to an external user.
If you allow external users to execute arbitrary commands on your server
you might as well just hang out a sign to hackers saying "Exploit me !".
I would never run a server like that.
A better way to do it would be to have a script perpetually executing on
the server: every minute it wakes up, looks in one place to see if it has
to do it's job, does whatever it has to do, then goes back to sleep for a
minute before checking again. All your FileMaker script has to do is
something very simple like edit one text file on the server to add a line
to it. Or, if the job is simple enough and doesn't need to pass any
parameters/variables/values, just change the edit date on that file.
Simon.
--
http://www.hearsay.demon.co.uk


|