• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: poking at a cross OS network connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: poking at a cross OS network connection


  • Subject: Re: poking at a cross OS network connection
  • From: Andrew Oliver <email@hidden>
  • Date: Sun, 19 Dec 2004 11:18:38 -0800

On 12/19/04 10:28 AM, "doug rogers" <email@hidden> wrote:


>> From: doug rogers <email@hidden>
>> Date: December 19, 2004 1:25:33 PM EST
>> To: Applescript Users List <email@hidden>
>> Subject: poking at a cross OS network connection
>>
>>
>> Follow along as I puzzle out this question. I believe the problem has
>> something to do with mismatched network protocols.
>>
[snip]
>>
>> Aha! choose URL showing File Servers
>>
>> property u : " "
>>
>> set u to choose URL showing File servers
>> --mount volume u as user name "MyName" with password "MyPassword"
>> --works of course
>> --choose application --works
>> tell application "Finder" of machine u to beep --could not establish
>> connection to host
>>
>> Hmmm.....?
>>
>>  And can I do it without mounting the disk?

Assuming what you get back from choose URL is a URL that you can pass to
'mount volume' (as your code and question imply), this is never going to
work.

The URL for a remote machine to target Apple Events is:

   eppc://host.net/

The URL for a remote volume is something like:

   afp://host.net/sharename

So there's no way the 'afp' URL is going to work for remote events.

If using Choose URL you'll need to strip out the protocol element (afp, smb,
etc.) and build a new 'eppc://' url using the hostname.

Andrew
:)

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Fwd: poking at a cross OS network connection (From: doug rogers <email@hidden>)

  • Prev by Date: Re: Set File Creation date
  • Next by Date: Re: changing international text to unicode text
  • Previous by thread: Fwd: poking at a cross OS network connection
  • Next by thread: [ANN] MathWallah v1.1 release
  • Index(es):
    • Date
    • Thread