3 Replies Latest reply on Sep 2, 2014 11:36 AM by philmodjunk

    Open remote folder

    RowlandPenty

      Title

      Open remote folder

      Post

           Hi,

           I have a number of container fields in my database which hold pdfs.

           They are stored using Filemaker's open storage option in: [Database location]/Files.

            

           I have a button which is set to open a URL, with the aim of opening the folder containing the files: it gets the current file path of the database by using get(FilePath), then appends "/Files".

           This works perfectly when I have the database open directly (not remotely).

           When the database is opened remotely (computer on the same network), the link no longer works as the function Get(FilePath) returns "fmnet:/XX.X.XXX.XX/Databasev16.fmp12" instead of the actual path.

           The database and files are stored on a networked drive, the other users have permissions for the drive.

            

           How can I fix this?

            

           The question (possibly) boils down to: how do I get the actual filepath of a remotely opened database?

            

            

           Thanks for any help in advance.

        • 1. Re: Open remote folder
          philmodjunk

               Why do you need that file path? You can use export field contents to export and open a copy of the file (export to the temporary folder to keep the copies from cluttering up the client computer's hard drive). This will work for all FileMaker clients whether local or remote.

          • 2. Re: Open remote folder
            RowlandPenty

            I need the file path so that the user can quickly open a windows explorer window and see the files stored in the database, by clicking a button which opens this url

            • 3. Re: Open remote folder
              philmodjunk

              I don't think that a folder set up as the remote storage location can be opened in that way. One of the reasons for setting up such a location is that the files in the folder are protected, with older versions, you set up a shared director using the "store a reference" option but users that could add image files had to have Write access to the folder and this risks the user being able to delete files from the folder that you don't want them to delete.

              But the remote access location is a none filepath specified when you set up remote storage and will be the same for all files stored to that remote location.