January 17, 201313 yr Newbies Hi All, I am having a database hosted on a FMserver and need to delete/rename a file which is present on the server itself. I am using delete function of scriptmaster but i am not able to delete it. It is returning me a value as '0'. It is not able to find the path of the file. Whenever i enter the path it is changing the file on my machine and not on the server (both have same path). How to fetch the correct path for a file on the server?
January 21, 201312 yr Hi, Have you checked the permissions? FM Server has only limited access to the file system, basically only the documents folder (and another one, I forgot) in the server folder itself. On Mac you may change permissions to give FMS access to any folder but I never tried on Windows. Best, Alexander
February 17, 201312 yr I have the same error, but not in server, in local mac. The same plug-in works correctly in a win 7 but not on a mac, they attach the same database in a server. Any help
February 18, 201312 yr Two machines - sames path, is one volume probably mounted on the other machine? check /Volumes/ Terminal open /Volumes/ This shows all volumes on your machine, in case of conflicting names the volume still shows up in Finder with its name, but the path is different: i.e. Finder: HD HD /Volumes/: HD HD-1
March 27, 201312 yr hello again, I mean i try to delete folder or files in some local machines. The database is on the server, but i want to delete in the local hard disk of my mac, by a script using scriptmaster. It runs correctly under windows, but doesn't do anything in a mac...... Maybe i need permissions in a mac, so i have to "say" it that filemaker pro can delete folders.... is it help please, joan.
March 27, 201312 yr Most likely a problem with the path to the file. The path structure used by Scriptmaster is not the same as Filemaker's, and is also different betweeen PCs and Macs As a test, set up a script which puts the result of a SelectFile dialog into a global variable, run it and select the file you are trying to delete. Now use the stored path from the global variable in the delete function of Scriptmaster and see if that works. Brian
April 2, 201312 yr Yes , i knew and i did it the good path on mac. But it seems Mac has no permission to delete files from a filemaker plug-in.....
April 30, 201312 yr i found the "mistake".... so, in mac os, the path has to be without "drive" system. bad: "/macintosh hd/users/clb/example" good: "/users/clb/example" I use to work under windows and there u can put all the path. So, the text to use under mac can confuse at all. Best regards,
Create an account or sign in to comment