djc728 Posted February 22, 2010 Posted February 22, 2010 Hello all: I have a container field with a "reference" to a PDF on our WINDOWS server. Up to this point ONLY windows machines were using the app. Now with a few MACs when a Mac user double clicks on the container field - they get the error message File not found. I was thinking of putting a button on the container field and testing for the system platform and then use the OPEN URL script to open the file up. It works for the windows side but I must be missing something on the Mac side. I have my path on the mac side set to: smb://ServerName/directory/filename.pdf After executing OPEN URL with the above path it doesn't choke but it doesn't open the pdf either. I checked the Get(LastError) and it is 0 so I'm assuming the command is functioning ok. On the windows side you need file://Path. I tried putting "file://" in front of the smb://... but that generates an error of 5. Any ideas or am I barking up the wrong tree with the Open URL command. I have all the proper permissions to the folder in question. Thanks.
IdealData Posted February 22, 2010 Posted February 22, 2010 (edited) If you drag a PDF file (on the Windows server into Safari you will get a clue. file:///Volumes/ServerName/Folder/file Notice the /// triple slash. smb: is not supported. Edited February 22, 2010 by Guest
djc728 Posted February 22, 2010 Author Posted February 22, 2010 Thank you - I did as you mentioned and dragged the file into Safari and got the path. Thanks it WORKED I owe you one. Have a wonderful day.
Recommended Posts
This topic is 5388 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now