Re: Sending Info over the web to a Mac.
Re: Sending Info over the web to a Mac.
- Subject: Re: Sending Info over the web to a Mac.
- From: Jason Bourque <email@hidden>
- Date: Sun, 06 Jan 2002 10:49:19 -0500
Phil,
What about fire walls, and considerations their?
Thanks,
Jason Bourque
On 1/6/02 10:24 AM, "Phi Sanders" <email@hidden> wrote:
>
If you don't know it's address you won't be able to reach it via program
>
linking or xml-rpc...
>
Static is best, but as long as you know the current IP you should be OK
>
>
~Phi
>
>
In a message sent on Sunday, January 6, 2002 @ 10:17 AM, by Jason Bourque :
>
>
> Jon,
>
>
>
> Does the Mac on the receiving end need some specific type of connection?
>
> Static IP?
>
>
>
> Thanks,
>
>
>
> Jason
>
>
>
>
>
>
>
>
>
> On 1/6/02 1:39 AM, "Jon Pugh" <email@hidden> wrote:
>
>
>
>> At 2:43 PM -0700 1/5/02, garbanzito wrote:
>
>>> at 2002 01 05, 10:31 -0500, they whom i call Jason Bourque wrote:
>
>>>> What are my options with sending and maybe receiving information from a
>
>>>> Script on one Mac to another over the internet.
>
>>>
>
>>> if you're running Mac OS X, XML-RPC is built in. it's
>
>>> designed for just what you're talking about. though i can't
>
>>> give you practical ins & outs, i believe there are examples
>
>>> on Apple's scripting pages, and more general info at
>
>>> <http://www.xmlrpc.com>.
>
>>
>
>> Actually, XML-RPC is for when you don't care if the destination is a Mac or
>
>> whatever. Just using program linking might be easier if you know the
>
>> destination machine is a Mac.
>
>>
>
>> In that case you write a server applet to talk to on the remote
>
machine with
>
>> some custom handler, like so:
>
>>
>
>> on tickleMe elmo
>
>> -- laugh, or whatever
>
>> say elmo
>
>> end tickleMe
>
>>
>
>> Then on your client use an eppc url to address the event:
>
>>
>
>> tell app "ServerApplet" of machine "eppc://server.address.or.name/"
>
>> tickleMe "Bert hangs out with scum, and I'm not talking about Ernie."
>
>> end tell
>
>>
>
>> Now really, can you get much easier than that?
>
>>
>
>> Of course, for this to work, the server machine will need to have the File
>
>> Sharing control panel set to have Program Linking on and TCP/IP enabled.
>
>>
>
>> And if you want to avoid the password dialog, you might be able to
>
> include the
>
>> password in the URL, but I don't guarantee that will work.
>
>>
>
>> "eppc://username:email@hidden/"
>
>>
>
>> Probably, a better solution is to just let the keychain handle it.
>
> That means
>
>> you'll need to prime the machine by logging in once, or script
>
unlocking the
>
>> keychain, like so:
>
>>
>
>> tell application "Keychain Scripting"
>
>> unlock keychain "garbanzito's Keys" with password "otiznabrag"
>
>> quit
>
>> end tell
>
>>
>
>> Good luck.
>
>>
>
>> Jon
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.