Platforms to show: All Mac Windows Linux Cross-Platform
NetFSMountMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Files | MBS MacOSX Plugin | 18.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Notes: Based on NetFS framework in MacOS 10.8 or later.
- event MountURLAsyncCompleted(status as Integer, URL as String, mountpoints() as String)
- 2 properties
- 3 methods
- method Cancel
- method MountURLAsync(URL as String, MountPath as String = "", User as String = "", Password as String = "", OpenOptions as Dictionary = nil, MountOptions as Dictionary = nil) as Integer
- method MountURLSync(URL as String, MountPath as String = "", User as String = "", Password as String = "", OpenOptions as Dictionary = nil, MountOptions as Dictionary = nil, byref MountPoints() as String) as Integer
- 3 shared methods
- shared method URLForRemountingVolume(path as String) as String
- shared method URLForRemountingVolume(vol as FolderItem) as String
- shared method URLProbe(hostname as String) as String
- 24 constants
- const kNAUIOptionKey = "UIOption"
- const kNetFSAllowLoopbackKey = "AllowLoopback"
- const kNetFSAllowSubMountsKey = "AllowSubMounts"
- const kNetFSMountAtMountDirKey = "MountAtMountDir"
- const kNetFSMountFlagsKey = "MountFlags"
- const kNetFSSoftMountKey = "SoftMount"
- const kNetFSUseGuestKey = "Guest"
Error Codes
Constant | Value | Description |
---|---|---|
kErrorAccountRestricted | -5999 |
Account is restricted. |
kErrorMissingMountpoint | 2 |
The mount point is missing. |
kErrorNoAuthMethodSupported | -5997 |
No supported auth method found. |
kErrorNoProtocolVersionSupported | -5996 |
No Protocol Version Supported. |
kErrorNoSharesAvailable | -5998 |
No shares available. |
kErrorPasswordNeedsChange | -5045 |
The password needs change. |
kErrorPasswordPolicy | -5046 |
Error with Password policy. |
kErrorUserCanceled | -128 |
User cancelled. |
kNetAuthErrorAlreadyClosed | -6005 |
Already closed. |
kNetAuthErrorGuestNotSupported | -6004 |
Guest login not supported. |
kNetAuthErrorInternal | -6600 |
Internal error. |
kNetAuthErrorMountFailed | -6602 |
Mount failed. |
kNetAuthErrorNoSharesAvailable | -6003 |
No shared available. |
Mount Flags
Constant | Value | Description |
---|---|---|
kMountFlagsReadOnly | 1 |
Mount read only. |
UIOption
Constant | Value | Description |
---|---|---|
kNAUIOptionAllowUI | "AllowUI" |
Allow user interface. |
kNAUIOptionForceUI | "ForceUI" |
Force user interface. |
kNAUIOptionNoUI | "NoUI" |
No user interface. |
This class has no sub classes.
Some examples using this class:
Blog Entries
Xojo Developer Magazine
Videos
- Presentation from Munich conference about MBS Plugins.
- Presentation from Xojo Developer Conference 2019 in Miami.
The items on this page are in the following plugins: MBS MacOSX Plugin.
