| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Component: Files
Functions to work with files and folders.
| Version | macOS | Windows | Linux | Server | iOS SDK |
| 2.3 / 16.1 | ✅ 96% | 🔶 69% | 🔶 46% | ✅ 92%, on macOS and Windows | 🔶 60% |
| Item | Details | Server |
|---|---|---|
| Files.AccessDate Queries the access date of the file or folder. | All 2.9 |
✅ Server |
| Files.AddedToDirectoryDate Queries the date of the file or folder when it was added to parent folder. | Mac only 6.4 |
✅ Server |
| Files.AppPath Returns the path to the main executable for this FileMaker solution. | All 2.7 |
✅ Server |
| Files.ApplicationPathWithBundleIdentifier New in 16.1 Get the file path for the application with the given identifier | Mac only 16.1 |
✅ Server |
| Files.AudioCoverArt Loads audio file and returns cover art. | Mac/Win 12.1 |
✅ Server |
| Files.AudioTags Queries audio tags for audio file. | Mac/Win 9.4 |
✅ Server |
| Files.BSDVolumeName Queries the BSD volume name for a volume. | Mac only 15.5 |
✅ Server |
| Files.CanOpenFile Checks if plugin can read file. | All 5.4 |
✅ Server |
| Files.CopyFile Copies files and folders without user interface. | All 2.8 |
✅ Server |
| Files.CopyFiles Copies multiple files in parallel. | Mac/iOS 10.0 |
✅ Server |
| Files.CreateAlias Creates an alias or link file. | Mac/Win/iOS 8.4 |
✅ Server |
| Files.CreateBookmark Creates a bookmark from a file path. | Mac/iOS 3.1 |
✅ Server |
| Files.CreateDirectory Creates a directory. | All 2.7 |
✅ Server |
| Files.CreateHardLink Creates a new hard link. | All 6.3 |
✅ Server |
| Files.CreateSymbolicLink Creates a new symbolic link. | All 6.3 |
✅ Server |
| Files.CreationDate Queries the creation date of the file or folder. | All 2.9 |
✅ Server |
| Files.Delete Deletes a file directly without moving it to trash. | All 3.3 |
✅ Server |
| Files.DeleteFolder Deletes a file or folder directly without moving to trash. | All 4.2 |
✅ Server |
| Files.DeleteLater Deletes file later. | All 13.3 |
✅ Server |
| Files.DirectoryExists Checks whether a directory exists with the given path. | All 2.7 |
✅ Server |
| Files.DiskInfo Queries information about a volume. | All 5.0 |
✅ Server |
| Files.EvictUbiquitousItem Removes local copy of a cloud file. | Mac/iOS 13.4 |
✅ Server |
| Files.FileDisplayName Queries the display name of the file or folder. | All 2.9 |
✅ Server |
| Files.FileExists Checks whether a file exists with the given path. | All 2.7 |
✅ Server |
| Files.FileExtension Queries the file extension of the given path. | All 5.2 |
✅ Server |
| Files.FileInfo Queries some file information. | Mac/Win/iOS 4.3 |
✅ Server |
| Files.FileKind Queries the file kind string. | Mac/Win 2.9 |
✅ Server |
| Files.FileName Queries the file name of the given path. | All 2.9 |
✅ Server |
| Files.FileNameWithoutExtension Queries file name without extension. | All 11.1 |
✅ Server |
| Files.FileSize Queries file size. | All 2.7 |
✅ Server |
| Files.FileUTITypes Queries uniform type identifiers for this file. | Mac only 2.9 |
✅ Server |
| Files.FolderSize Calculate sizes of folder. | All 6.2 |
✅ Server |
| Files.GetComment Queries Finder's file comment. | Mac only 6.2 |
✅ Server |
| Files.GetFinderLabel Queries the label of the file or folder. | Mac only 6.2 |
✅ Server |
| Files.GetNodeID Queries the NodeID of the file or folder. | All 3.1 |
✅ Server |
| Files.GetPathFromNodeID Finds the file or folder for the given NodeID on the given volume. | All 3.1 |
✅ Server |
| Files.GetPosixPermissions Queries posix file permissions. | Mac/Linux/iOS 4.3 |
✅ Server |
| Files.GetTagNames Queries names of the tags assigned to the file/folder. | Mac only 3.5 |
✅ Server |
| Files.IdentifyData Checks file type from the data. | All 14.0 |
✅ Server |
| Files.IsApplication Checks whether the file path points to an application. | Mac/iOS 13.5 |
✅ Server |
| Files.IsExcludedFromBackup Queries file extension visibility state of a file or folder. | Mac only 12.0 |
✅ Server |
| Files.IsFileExtensionHidden Queries file extension visibility state of a file or folder. | Mac only 12.0 |
✅ Server |
| Files.IsHidden Queries hidden state of a file or folder. | Mac/Win 7.1 |
✅ Server |
| Files.IsPackage Checks whether the file path points to a package. | Mac/iOS 13.5 |
✅ Server |
| Files.IsReadOnly Queries read only flag for a file or folder. | Win only 12.5 |
✅ Server |
| Files.IsSystemImmutable Queries the system immutable flag. | Mac/iOS 14.2 |
✅ Server |
| Files.IsUserImmutable Queries the user immutable flag. | Mac/iOS 14.2 |
✅ Server |
| Files.ItemExists Checks whether a item exists with the given path. | All 2.7 |
✅ Server |
| Files.Launch Launches the file. | Mac/Win 2.7 |
❌ Server |
| Files.LaunchFile Launches the file or opens folder. | Mac/Win 2.7 |
❌ Server |
| Files.List Queries list of file names in folder. | All 2.8 |
✅ Server |
| Files.ListAsJSON Queries list of file names in folder as JSON. | All 10.5 |
✅ Server |
| Files.ListRecursive Queries list of paths in folder. | All 4.1 |
✅ Server |
| Files.ListVolumes Lists mounted volumes. | Mac/Win 6.5 |
✅ Server |
| Files.ModificationDate Queries the modification date of the file or folder. | All 2.9 |
✅ Server |
| Files.Mount Mounts a network share. | Mac/Win/Linux 5.1 |
✅ Server |
| Files.MountPath Queries mount path for a volume. | Mac/Win 8.3 |
✅ Server |
| Files.MoveFile Moves a file or folder without user interface. | All 2.8 |
✅ Server |
| Files.MoveToTrash Deletes an item by moving it to trash without user interface. | All 2.8 |
✅ Server |
| Files.OpenFiles New in 16.1 Queries list of open files from the application. | All 16.1 |
✅ Server |
| Files.PrintFile Asks the OS to print this file. | Mac/Win 15.3 |
❌ Server |
| Files.ReadAndWriteFile Reads a file and writes it elsewhere. | All 11.1 |
✅ Server |
| Files.ReadFile Reads a file with the given path. | All 3.5 |
✅ Server |
| Files.ReadJPEG Reads a JPEG file from the file system. | All 4.3 |
✅ Server |
| Files.ReadPDF Reads a PDF file from the file system. | All 4.3 |
✅ Server |
| Files.ReadPNG Reads a PNG file from the file system. | All 4.3 |
✅ Server |
| Files.RenameFile Renames a file or folder without user interface. | All 2.8 |
✅ Server |
| Files.ResolveAlias Resolves an alias file. | Mac/Win/iOS 8.4 |
✅ Server |
| Files.ResolveBookmark Resolves a bookmark. | Mac/iOS 3.1 |
✅ Server |
| Files.RevealFile Reveals the file/folder in the shell. | Mac/Win 2.7 |
❌ Server |
| Files.SetAudioTags Sets audio tags for audio file. | Mac/Win/Linux 9.4 |
✅ Server |
| Files.SetComment Sets the file comment. | Mac only 6.2 |
✅ Server |
| Files.SetCreationDate Sets the file creation date. | Mac/Win/iOS 7.2 |
✅ Server |
| Files.SetExcludedFromBackup Sets file backup exclusion of a file or folder. | Mac only 12.0 |
✅ Server |
| Files.SetFileExtensionHidden Sets the hidden state for the file extension of a file or folder. | Mac only 12.0 |
✅ Server |
| Files.SetFinderLabel Sets the Finder label. | Mac only 6.2 |
✅ Server |
| Files.SetHidden Sets the hidden state for a file or folder. | Mac/Win 7.1 |
✅ Server |
| Files.SetModificationDate Sets the file modification date. | All 7.2 |
✅ Server |
| Files.SetPosixPermissions Sets posix file permissions. | Mac/Linux/iOS 4.3 |
✅ Server |
| Files.SetReadOnly Sets the read only flag for a file or folder. | Win only 12.5 |
✅ Server |
| Files.SetSystemImmutable Sets the system immutable flag. | Mac/iOS 14.2 |
✅ Server |
| Files.SetTagNames Sets the tags for a file/folder. | Mac only 3.5 |
✅ Server |
| Files.SetUserImmutable Sets the user immutable flag. | Mac/iOS 14.2 |
✅ Server |
| Files.ShareFile Shows the share panel for Windows. | Win only 15.1 |
❌ Server |
| Files.ShowPropertyDialog Shows the file properties dialog in explorer. | Win only 15.1 |
❌ Server |
| Files.StandardizePath Standardized a path. | All 10.3 |
✅ Server |
| Files.StartDownloadingUbiquitousItem Starts download of a cloud hosted file. | Mac/iOS 13.4 |
✅ Server |
| Files.USBSerialNumber Queries the USB serial number for a volume. | Mac/Win 15.5 |
✅ Server |
| Files.UbiquitousItemStatus Queries status of a ubiquitous item. | Mac/iOS 13.4 |
✅ Server |
| Files.Unmount Unmount a volume. | Mac/Win/Linux 5.1 |
✅ Server |
| Files.WriteFile Writes a file with the given data. | All 3.5 |
✅ Server |
| Icon.ClearIcon Clears the custom icon for the file or directory at the specified path. | Mac only 2.7 |
✅ Server |
| Icon.GetIcon Queries the Finder icon for the file or folder with the given path. | Mac/Win 2.3 |
✅ Server |
| Icon.GetIconWithQuickLook Queries the Finder icon for the file or folder with the given path. | Mac/Win 2.3 |
✅ Server |
| Icon.SetIcon Sets the icon for the file or directory at the specified path. | Mac only 2.7 |
✅ Server |
| MountNotification.Install Installs a script trigger to be called when a disk mounts/unmounts. | Mac/Win 5.0 |
❌ Server |
| MountNotification.Uninstall Uninstalls notification for mount script trigger. | Mac/Win 5.0 |
❌ Server |
97 functions shown.
These functions require a license (79%).
Release notes
- Version 16.0
- Added Linux and iOS support for Files.GetNodeID function.
- Fixed an issue with Files.MoveFile on Windows when using normal slashes in the path.
- Version 15.5
- Added Files.BSDVolumeName and Files.USBSerialNumber functions for macOS.
- Fixed Files.Mount to return the path. Broken in 15.4.
- Version 15.4
- Added ASF support for Files.AudioCoverArt function.
- Rewrote Files.Mount for macOS to user newer API and get mounting of folders on shares via SMB.
- Version 15.3
- Added Files.PrintFile function for macOS and Windows.
- Rewrote macOS part of Files.LaunchFile to use newer API on macOS 10.15 or higher.
- Version 15.2
- Added ExtensionFilter parameter to Files.ListRecursive function.
- Added flag 128 for matching substring with the ExtensionFilter parameter for the Files.List, Files.ListAsJSON and Files.ListRecursive functions.
- Version 15.1
- Added Files.ShareFile function.
- Added Files.ShowPropertyDialog function for Windows to show a property dialog of a file.
- Version 15.0
- Added flags parameter for Files.AudioTags to request dumping all ID3v2Tags.
- Added VolumeUUID to Files.DiskInfo function for macOS, iOS and Windows.
- Version 14.4
- Fixed a problem in Files.RenameFile function to rename folders on Windows if the path ended with a backslash.
- Version 14.3
- Changed trace function to not log the password for a Files.Mount call.
- Improved Files.ResolveAlias function to handle symbolic links, too.
Blog Entries
- New in MBS FileMaker Plugin 15.5
- Can FileMaker do that?
- MBS Plugin Advent calendar: 12 - Files
- News in MBS FileMaker Plugin 13.4
- New in MBS FileMaker Plugin 12.0
- MBS FileMaker Plugin 12.0 - More than 6700 Functions In One Plugin
- MBS FileMaker Plugin 6.5 for OS X/Windows
- MBS FileMaker Plugin 6.4 for OS X/Windows
- 4000 functions in 10 years
- MBS FileMaker Plugin 2.8 for OS X/Windows - More than 1100 Functions In One Plugin
FileMaker Magazin
- Ausgabe 4/2025, Seite 31 bis 32
- Ausgabe 2/2025, Seite 25
- Ausgabe 6/2024, Seite 37
- Ausgabe 3/2024, Seite 31
- Ausgabe 6/2022, Seite 14
- Ausgabe 1/2022, Seite 28
- Ausgabe 6/2021, Seite 21
- Ausgabe 6/2020, Seite 32
- Ausgabe 6/2020, Seite 26
- Ausgabe 4/2020, Seite 33 bis 35
Example Databases