Mediaflux data collections can be accessed as a network share via the SMB (Server Message Block) protocol.

You can connect to the Mediaflux server using SMB through macOS Finder ("conect to server"), Windows File Explorer ("map network drive") or GNOME FIles ("connect to server") on Linux, etc. and use your favourite file management tool to explore your collection and upload, download, delete, manage or rename files and folders, just as if it were a local directory.  You can also open files directly, for example in Microsoft Office or other local applications.

Please note that the SMB protocol (in general, not just with Mediaflux):

Note that Microsoft Office applications have an issue when used with SMB/Mediaflux.  When you edit a file, the Office applications copy the file, edit it, remove the original and move the new file into its place.  This process causes Mediaflux to lose earlier versions of the file (however, all copies will get replicated in near real time to our Disaster Recovery server).  If you wish to retain the version history of your Microsoft Office files, one workaround is to copy the file to your local machine, edit it there, and then overwrite the file in Mediaflux with your modified version.

Fileshare path format

Regardless of the operating system you are using, you need to specify the file-share (your data collection) that you want to access (map/mount).  For the University of Melbourne Mediaflux service, the file-share name is the same as your project ID (projects IDs are of the form proj-<name>-<CID>).  The project is your collection is your file-share.

The full file-share path combines the Mediaflux server name and the name of your file share (project). For example:

Windows

Use backslashes in the path.

macOS

Use forward slashes in the path

Linux

Use forward slashes in the path. 

Authentication

Multi-Factor Authentication (MFA) for Mediaflux is now available. To learn more and enrol, visit: Mediaflux MFA

If your computer is a University MOE (Managed Operating Environment), you won't need to enter your credential when you map the network drive on Windows or connect to the server (macOS). Your computer will supply your credential and log you in automatically because you have already logged in to your computer via the University domain.

For other operating systems, or if you are using a local account (not a University account) you will need to supply your login credential.   The SMB user name is a combination of the Domain and Username of the Mediaflux account - note the use of backslashes (\) in the credential component in the SMB protocol (both Windows and macOS)

Authentication protocol

By default, your credentials will be authenticated using the NTLMv2 protocol.  If you have trouble logging in, another alternative is to use Kerberos authentication.  To do this, use the fully qualified domain instead of the short domain:

Connecting after changing your password

If you have recently changed your University of Melbourne password, then it will be important to manually disconnect (and then reconnect) any previously-mounted SMB shares. Otherwise, these drives may continue to authenticate using old/legacy credentials - which can lead to account lockouts (due to repeated unsuccessful connection attempts) in some cases.

Using a secure identity token

If you are connecting with a secure identity token, you would use the following:

If you cannot leave the password blank, you can enter the token a second time in the password field.

Examples

Windows 10

N.B. On Windows you cannot use two different accounts to mount two different shares from the same server.

For this example, we assume you are logged in to a University of Melbourne Windows 10 MOE with your University Credential.

Apple macOS Finder

Open the Finder select the Go Menu item Connect to Server...

The finder will now have a mounted drive with the contents of your project.

Ubuntu GNOME Files

Mounting on Linux using the fstab file

If you want to have your SMB volume mount on startup, you can add it to your /etc/fstab file.  In the below example, you need to determine the uid and gid of your local user account, and update the example username (mfuser) and example password (mfuserpassword) to your university username and password.

# determine your uid and gid:
mfuser@ubuntu:~$ id
uid=1000(mfuser) gid=1000(mfuser) groups=1000(mfuser),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),118(lpadmin),129(sambashare),137(libvirt)

# add entry to your fstab file.  Use the values for uid and gid determined above.
mfuser@ubuntu:~$ sudo vim /etc/fstab
//mediaflux.researchsoftware.unimelb.edu.au/proj-demonstration-1128.4.15	/mnt/proj-demonstration-1128.4.15	cifs	credentials=/etc/fstab-creds-proj-demonstration-1128.4.15,uid=1000,gid=1000	0	0

# create a separate credentials file.  This allows us to set the permissions so the password is not readable by normal users.
mfuser@ubuntu:~$ sudo touch /etc/fstab-creds-proj-demonstration-1128.4.15
mfuser@ubuntu:~$ sudo chmod go-rwx /etc/fstab-creds-proj-demonstration-1128.4.15
mfuser@ubuntu:~$ sudo vim /etc/fstab-creds-proj-demonstration-1128.4.15
username=mfuser
password=mfuserpassword
domain=unimelb

# create the mountpoint and mount
mfuser@ubuntu:~$ sudo mkdir /mnt/proj-demonstration-1128.4.15
mfuser@ubuntu:~$ sudo mount /mnt/proj-demonstration-1128.4.15

Transferring data to or from cloud storage using rclone

Rclone is a tool for transferring or syncing files to cloud storage.  Over 40 cloud storage products support rclone including S3 object stores, business & consumer file storage services, as well as standard transfer protocols.  Rclone has cloud equivalents to the unix commands rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat.

You can transfer data to or from Mediaflux over both the SFTP and SMB protocols.  Some endpoints that might be of interest to University users are SharePoint, OneDrive, Google Drive, S3 and CloudStor.

We have a detailed page on rclone with examples transferring data from many cloud storage endpoints.