Re: mounting volumes using TCP/IP
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