Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using Mediaflux through the SFTP protocol as an rclone remote.  You can also use the SMB protocol to connect to Mediaflux (see below), but SFTP is likely a better choice due to it being encrypted.  SFTP has also been in rclone for longer so may be more mature.

...

Code Block
languagebash
titleExample data transfer sending files from Mediaflux to CloudStor
rwh@thinkpad:~/wd$ rclone -P copy mediaflux-sftp:/Volumes/proj-demonstration-1128.4.15/mediaflux-test cloudstor:/mediaflux-test
Enter configuration password:
password:
Transferred:       63.503M / 63.503 MBytes, 100%, 1.150 MBytes/s, ETA 0s
Transferred:          117 / 117, 100%

Mediaflux SMB

Using Mediaflux through the SFTP protocol as an rclone remote.  You can also use the SMB protocol to connect to Mediaflux (see above).

Note that in order to access Mediaflux SMB, you will need to be on the university network or connected with a university VPN.

If you choose to store your mediaflux password, as in the example below, we recommend that you set a password on your rclone configuration file (see Securing your configuration file, above).

Configuring the SMB remote in rclone

Code Block
collapsetrue
rwh@thinkpad:~$ rclone config
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n

Enter name for new remote.
name> mediaflux-smb

Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
[snip]
35 / SMB / CIFS
   \ (smb)
[snip]
Storage> smb

Option host.
SMB server hostname to connect to.
E.g. "example.com".
Enter a value.
host> mediaflux.researchsoftware.unimelb.edu.au

Option user.
SMB username.
Enter a string value. Press Enter for the default (rwh).
user> mfuser

Option port.
SMB port number.
Enter a signed integer. Press Enter for the default (445).
port> 

Option pass.
SMB password.
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, leave this optional password blank (default)
y/g/n> y
Enter the password:
password: (your university password)
Confirm the password:
password: (your university password)

Option domain.
Domain name for NTLM authentication.
Enter a string value. Press Enter for the default (WORKGROUP).
domain> unimelb

Edit advanced config?
y) Yes
n) No (default)
y/n> n

Configuration complete.
Options:
- type: smb
- host: mediaflux.researchsoftware.unimelb.edu.au
- user: mfuser
- pass: *** ENCRYPTED ***
- domain: unimelb
Keep this "mediaflux-smb" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y

Current remotes:

Name                 Type
====                 ====
mediaflux-smb        smb

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q

Copying data to Mediaflux over SMB

Code Block
rwh@thinkpad:~$ rclone copy ./mediaflux-test mediaflux-smb:proj-demonstration-1128.4.15/mediaflux-test

Copying data from Mediaflux over SMB

Code Block
rwh@thinkpad:~$ rclone copy mediaflux-smb:proj-demonstration-1128.4.15/mediaflux-test ./mediaflux-test


Google Drive

Documentation for configuring a Google Drive remote

...