• 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: mounting volumes using TCP/IP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mounting volumes using TCP/IP


  • Subject: Re: mounting volumes using TCP/IP
  • From: Paul Skinner <email@hidden>
  • Date: Wed, 24 Oct 2001 20:37:01 -0400

on 10/24/01 6:03 PM, Elmer Banate wrote:

> Hi all,
>
> Is there any one can help me to mount volume via
> (TCP/IP) which is PC. My script works for Mac volumes
> only via appleTalk zone. There is no error when I
> compile my script but still the volume did'nt mount.
>
> try
> mount volume via(TCP / IP) on server "Vol 2" as user
> name "Guest"
> on error
> set myResult to myResult as string
> display dialog "Please check if Vol 2 is available."
> buttons "OK" default button 1
> end try
>
>
> Thanks in advance,
> Elmer

If the PC is running AppleTalk services then use...

try
mount volume volumeName on server serverName as user name userName
with password userPassword
end try

If it's not running ATS then you can try ...

try
mount volume ("afp://" & userName & ":" & userPassword & "@" &
ipAddress & "/" & volumeName & "/")
end try

I believe that connecting to PC's with AppleScript was broken in either
1.5.5 or 1.6 but I couldn't find a reference to this in the AppleScript
Sourcebook.

--
Paul Skinner


References: 
 >mounting volumes using TCP/IP (From: Elmer Banate <email@hidden>)

  • Prev by Date: Re: run script
  • Next by Date: Re: run script
  • Previous by thread: mounting volumes using TCP/IP
  • Next by thread: RE: mounting volumes using TCP/IP
  • Index(es):
    • Date
    • Thread