Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Files | MBS MacOSX Plugin | 18.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
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.
URL: The URL for the network resource. |
Username: The user name. If none is provided, system can take credentials from keychain, e.g. "test"
Password: The password to use, e.g. "test"
Interactive: Default is false for no dialogs. But you can pass true to have a dialog show up.
Prompt: Pass true on Windows to show dialog always to enter password.
When used on Linux the parameters are a little bit different:
Please pass source (URL), target (Dest), type (Username) and data (Password).
The dest path may need to be created first as new folder.
Returns the new path to the mounted disk.
Examples for URLs:
"afp://Ablage1.local" to mount on Mac via Apple Filesharing Protocol.
"\\myServer\public" to mount a disk on Windows.
"afp://192.168.168.250/Customer%20Data" to mount disk with space in name (URL encoded).
"\\192.168.0.242\ERP" mounts from Windows Server and e.g. pass "SRV2012\bob" as user name.
Threaded: If true and run on a Xojo thread, we yield time to other thread.
Some examples using this global method:
Blog Entries
Videos
The items on this page are in the following plugins: MBS MacOSX Plugin.