There options for very specific Folders and Locations in an OS's and or a User's environment.
Easy solution is a folder in the same folder as the database - a Relative Link, not an Absolute Link.
The shortcomings in FMP's file manipulation ability has lead to this list of File and Folder Plugins..,
Scriptmaster, MooPlug, and BaseElements are FREE ones.
Troi is the most recommended.
David, Base elements is far from being free as far as I know. It costs a lot, like a few hundred bucks.
It is possible to list the contents of a folder without using a system script nor a plug in if the folder itself is located inside the computer's document folder. If that's the case here, let me know and I'll elaborate.
The data base contains names and details from a variety of clients. I store their files and they appear in a portal, refer to below picture.
The left button has a script that ensures that the selected file is attached to the name of the client.
The right button I would like to use to go to my hard drive directory where there is a file folder named D-Link. Then I would be able to see if the file is already there, that's all.
Sorry for the delay, we have had some holidays in Nz
The left button is OK and is working well. It allows me to select a file from my hard drive and then connect it to the client
However, the right button I wish to use so that I can have a look at the files in the system on my hard drive (and not part of the FMP data base), and may then open it to see what the content is.
Sorry, my explanation may nor be very clear but do not know how to explain it further
Rick, BaseElements is free. If click the link that DavidAnders put in his post and then clicked BaseElements it states that it is free. Here is a direct link to BaseElements http://www.goya.com.au/baseelements/plugin
Where is the folder located?
Posts in your thread have pretty much already spelled out your options:
1) If the folder is inside the documents folder, there's a get function: Get ( DocumentsPathListing) that can generate a list of file and folder names that can be parsed to list all the contents of this folder.
If it is not located inside the documents folder...
2) a system script can list the contents of the folder. In the systems scripts, (not for Mac) that I am familiar with, this list can be generated as a text file and imported into filemaker to see the list of files. I suspect Applescript can do better but can't advise you on that option.
3) a plug in that lists the contenst of a folder can be acquired by you and installed to get the list of the folder contents.
Thanks guys, will try and let you know.