|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
Mounts a network share.
|Files||5.1||✅ Yes||✅ Yes||✅ Yes||✅ Yes||❌ No|
|URL||The URL for the network resource.|
|Dest||The destination path to mount to. If you leave this empty, the system decides. On Mac this can be the path to a folder where to mount new disk inside, e.g. to make a private mount.||""||Optional|
|Username||The user name. If none is provided, system can take credentials from keychain.||"test"||Optional|
|Password||The password to use.||"test"||Optional|
|Interactive||Default is 0 for no dialogs. But you can pass 1 to have a dialog show up.||1||Optional|
|Prompt||Pass 1 on Windows to show dialog always to enter password.||0||Optional|
Returns path or error.
DescriptionMounts a network share.
Use on Server may require extra work as server runs with a different user account than you being logged in on the server machine. Permissions don't always allow things to be done.
When used on Linux the parameters are a little bit different:
Please pass source (URL), target (Dest), filesystemtype (Username) and data (Password).
Values for the filesystemtype argument supported by the kernel are listed in /proc/filesystems (e.g., "btrfs", "ext4", "jfs", "xfs", "vfat", "fuse", "tmpfs", "cgroup", "proc", "mqueue", "nfs", "cifs", "iso9660"). Further types may become available when the appropriate modules are loaded.
The data argument is interpreted by the different filesystems. Typically it is a string of comma-separated options understood by this filesystem.
The dest path may need to be created first as new folder.
Mount Ablage1 on Mac:
Mount Ablage1 on Mac with password:
Mount something on Windows:
Mount Ablage 2 on Windows:
Mount Ablage 2 on Windows with password:
Mounts AFP volume with space in name:
Mount on Linux:
Mount SMB share from Windows Server 2012:
Mount with properly encoding french accent:
- Version 12.2
- Fixed Files.Mount to return correct path when mounting to a folder.
- Version 8.3
- Added Files.MountPath function.
- MBS FileMaker Plugin, version 12.2pr1
- Network share access from script on FileMaker Server
- Adding Bonjour functions for MBS FileMaker Plugin
- Tip of the day: Mount drive on FileMaker Server
- MBS FileMaker Plugin, version 5.2pr1
- MBS FileMaker Plugin 5.1 for OS X/Windows
- MBS FileMaker Plugin, version 5.1pr8
This function checks for a license.
Created 10th May 2015, last changed 4th March 2022