Hi guys, I am a low end script user. I get a lot done with scripting, but I am sure my methods are less than ideal. That said, I need to modify some existing scripts that call files from the Finder. These scripts work fine on multiple standalone desktops but we are now moving the files to an afp file server.
The problem:
I need to change the file paths so that they can find the files on the server volume (which is already mounted). What is the proper syntax for such a path structure. Currently I am using the base the from the Users folder and then appending the needed path details for the specific file – so it would seem to be simple enough to modify the portion of my script that designates the User folder to designating the server folder.
I have tried several path structures with no success (it says that it “can’t get file” at that address):
afp://serverIPaddress/pathtofolder
afp://serverIPaddress/volumename/pathtofolder
volumename/pathtofolder
All the web searches I find seem to reference mounting the server, which I can do with no problem - I just can’t get the path structure correct. Any help would be greatly appreciated.
The user’s computers and the server are Mac OSX machines using either 10.5 or 10.6 connecting via afp.
Roger