Author Topic: Unable to access mount point on network drive  (Read 3698 times)

redyookie

  • Member
  • *
  • Posts: 4
Unable to access mount point on network drive
« on: April 20, 2010, 09:31:04 PM »
I'm using File Manipulator plugins on Filemaker 10 Mac, and trying to access folders that are on a shared network drive.  For one of the Macs, it appears to work fine, PCFMGetFolderExists("ServerName/FolderName") can find the folder.  However, for the other two Macs, it returns an error of -10. 
All 3 Macs are running Leopard.

Can anybody shed some light on this?

Chris

  • God
  • Member
  • *****
  • Posts: 83
Re: Unable to access mount point on network drive
« Reply #1 on: May 14, 2010, 05:29:25 PM »
The paths that you see in Finder are not necessarily the same as the paths that you would pass the the plug-in.  This is particulalry true when working with mounted volumes.  I believe the correct path to a mounted volume needs to be prefixed with 'Volumes' or '/Volumes' in order to work correctly.  I am not positive, but I think you can get a list of mounted volumes using the PCFM_ListDrives function (or some similar function ).  Or try a terminal window and ls on the /Volumes dir to see the names you can use to access the mounted drive.

Chris