Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Files.Unmount
Unmount a volume.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Files | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "Files.Unmount"; Path { ; Force } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Path | The local path of the volume. | "/Volumes/Test" | |
Force | Pass 1 to force unmount, even if files are still open. | 0 | Optional |
Result
Returns OK or error.
Description
Unmount a volume.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.
Examples
Unmounts Ablage1 on Mac:
MBS("Files.Unmount"; "/Volumes/Ablage1")
Unmount Y: on Windows:
MBS("Files.Unmount"; "Y:")
See also
Blog Entries
- Network share access from script on FileMaker Server
- Tip of the day: Mount drive on FileMaker Server
- MBS FileMaker Plugin, version 5.1pr8
This function checks for a license.
Created 10th May 2015, last changed 18th March 2017