Re: mounting volumes using TCP/IP
Re: mounting volumes using TCP/IP
- Subject: Re: mounting volumes using TCP/IP
- From: Tod Hallberg <email@hidden>
- Date: Tue, 15 Apr 2003 15:42:29 -0500
- Organization: Monical Pizza Corporation
This is from a while ago, but it answers your question
tod
------------------------------------------
If the volume is an afp volume via TCP/IP use-
OS 9
Tell application "Finder"
mount volume "afp://username:email@hidden/shared_volume"
-- it may be "afp://at/username....
end tell
OS X 10.1
If the volume is a Windows volume shared via smb/cifs
Tell application "Finder"
open location "smb:// domain;username:password@server/shared_volume"
end tell
If you're in an NT domain don't forget the domain name then a semi-colon
then username...I couldn't figure it out-then someone named Iwan taught me
that tidbit on the OS X AppleScript Discussion Area.
Hope that helps,
Ron Bishop
----------------------------------------------------
email@hidden wrote:
>
If the volume is an afp volume via TCP/IP use-
>
>
OS 9
>
>
Tell application "Finder"
>
mount volume "afp://username:email@hidden/shared_volume"
>
-- it may be "afp://at/username....
>
end tell
>
>
OS X 10.1
>
>
If the volume is a Windows volume shared via smb/cifs
>
>
Tell application "Finder"
>
open location "smb:// domain;username:password@server/shared_volume"
>
end tell
>
>
If you're in an NT domain don't forget the domain name then a semi-colon
>
then username...I couldn't figure it out-then someone named Iwan taught me
>
that tidbit on the OS X AppleScript Discussion Area.
>
>
Hope that helps,
>
>
Ron Bishop
>
-----Original Message-----
>
From: Elmer Banate [mailto:email@hidden]
>
Sent: Wednesday, October 24, 2001 5:03 PM
>
To: email@hidden
>
Subject: mounting volumes using TCP/IP
>
>
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
>
Make a great connection at Yahoo! Personals.
>
http://personals.yahoo.com
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
_______________________________________________
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.