Mount shared user for CrashPlan ...

Hi,

I use CrashPlan (a very good on line backup solution). CrashPlan can sync my essentials files/folders on line and in almost realtime. It can backup files/folders located in my computer’s hard disk, in an attached hard drive or in a user of a networked computer that shares some of is folders over the network.

The first 2 are always visible, so CP can sync without problem. For folders of a user of a networked computer, the problem is different. Those folders are visible/accessible only if they are manually mounted in my computer’s Finder.

Is there a way to automatically mount these folders without having to enter the «username» and the «password» and not having to press any key on the keyboard to confirm the choice ?

Thanks in advance.

Robert

Hi Robert,

I have been using this:

tell application "Finder"
	if not (exists disk "Volume") then
		mount volume "smb://000.000.000.000/share" as user name "username" with password "passwd"
	end if
end tell

Rob

Hi Rob,

Thanks for the script … I get this error message (translated from French):

error " Error in Finder : Authorization error of network file. " number -5000

Do you have an idea what this error message is about ? Thanks in advance.

Robert

Just found information on the web about SMB. It seems to be a Windows sharing protocol. I am working in a Macintosh environment. Could that be the reason ?

Using AFP, gets further, but still require to select and confirm manually the choice. I want to get access to the shared volume completely by script. Is this possible ?

Hi Robert,
you need probabily the function of keychain… store the user en passwd

i found another:

tell application "Finder"
	mount volume "afp://username:passwd@servername/share"
end tell

success

Rob