I am trying to mount a volume through apple script.I am using
mount volume “smb://ipaddress/sharename”.It works out prefectly in one machine when i run the same script in a diff machine it gives me a error “Error -36”.Is there any settings i am missing out in the machine.
Thanks in Advance
You may have to insert the username and password into your string to have it work properly everytime.
mount volume “smb://username:email@example.com/sharename”
This has been successul for me using 10.2.x.
Just keep in mind that having the username and password in your code presents a security risk if someone can open and read it.