Follow

Can I use the command line or WebDav?

Yes, you can.

 

WebDAV URL: https://cloudstor.aarnet.edu.au/plus/remote.php/webdav/
Username and Password are the same as the sync client.

 

 

 

Command line:

 

We recommend Open Source Project rclone https://rclone.org and Cyberduck's CLI tool tool https://duck.sh/

 

 

 

rclone

 

Setup

 

Rclone requires some setting up in order to communicate with CloudStor.

 

Note items in bold text. Also please read the questions as this is for v1.48.0 and the option may change in future updates.

 

# rclone config
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> CloudStor
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
 1 / A stackable unification remote, which can appear to merge the contents of several remotes
   \ "union"
 2 / Alias for an existing remote
   \ "alias"
 3 / Amazon Drive
   \ "amazon cloud drive"
 4 / Amazon S3 Compliant Storage Provider (AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, etc)
   \ "s3"
 5 / Backblaze B2
   \ "b2"
 6 / Box
   \ "box"
 7 / Cache a remote
   \ "cache"
 8 / Dropbox
   \ "dropbox"
 9 / Encrypt/Decrypt a remote
   \ "crypt"
10 / FTP Connection
   \ "ftp"
11 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
12 / Google Drive
   \ "drive"
13 / Hubic
   \ "hubic"
14 / JottaCloud
   \ "jottacloud"
15 / Koofr
   \ "koofr"
16 / Local Disk
   \ "local"
17 / Mega
   \ "mega"
18 / Microsoft Azure Blob Storage
   \ "azureblob"
19 / Microsoft OneDrive
   \ "onedrive"
20 / OpenDrive
   \ "opendrive"
21 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
22 / Pcloud
   \ "pcloud"
23 / QingCloud Object Storage
   \ "qingstor"
24 / SSH/SFTP Connection
   \ "sftp"
25 / Webdav
   \ "webdav"
26 / Yandex Disk
   \ "yandex"
27 / http Connection
   \ "http"
Storage> 25
** See help for webdav backend at: https://rclone.org/webdav/ **

URL of http host to connect to
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
 1 / Connect to example.com
   \ "https://example.com"
url> https://cloudstor.aarnet.edu.au/plus/remote.php/webdav/
Name of the Webdav site/service/software you are using
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
 1 / Nextcloud
   \ "nextcloud"
 2 / Owncloud
   \ "owncloud"
 3 / Sharepoint
   \ "sharepoint"
 4 / Other site/service or software
   \ "other"
vendor> 2
User name
Enter a string value. Press Enter for the default ("").
user> user@institute.edu.au
Password.
y) Yes type in my own password
g) Generate random password
n) No leave this optional password blank
y/g/n> y
Enter the password:
password: <<SYNC or APP password>>
Confirm the password:
password: <<SYNC or APP password>>
Bearer token instead of user/pass (eg a Macaroon)
Enter a string value. Press Enter for the default ("").
bearer_token> <<LEAVE BLANK, press enter key>>
Remote config
--------------------
[CloudStor]
type = webdav
url = https://cloudstor.aarnet.edu.au/plus/remote.php/webdav/
vendor = owncloud
user = user@institute.edu.au
pass = *** ENCRYPTED ***
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:

Name                 Type
====                 ====
CloudStor            webdav

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

 

Parallel upload example:

 

# rclone copy --progress --transfers 8 ~/testdata/ CloudStor:/test

 

  Key Value Notes
Parallel streams --transfers 8 Recommend not to go beyond 8 parallel streams
Upload to   CloudStor:/test Upload to “test/”. The CloudStor path is whatever is after CloudStor:/ in the path (CloudStor:/test)
Upload from   ~/testdata/  

 

 

 

Parallel download example:

 

# rclone copy --progress --transfers 8 CloudStor:/test ~/testdata/

 

  Key Value Notes
Parallel streams --transfers 8 Recommend not to go beyond 8 parallel streams
Download from   CloudStor:/test Download from “test/”. The CloudStor path is whatever is after CloudStor:/ in the path (CloudStor:/test)
Download to   ~/testdata/  

 

 

 

File listing example

 

# rclone ls CloudStor:/test

 

  Key Value Notes
Username -u user@institute.edu.au  
List ls    
List from   CloudStor:/test List from “test/”. The CloudStor path is whatever is after CloudStor:/ in the path (CloudStor:/test)

 

 

 

More help with rclone

 

# rclone --help

 

or visit https://rclone.org

 

 

 

Duck.sh

 

Parallel upload example:

 

# duck -u user@institute.edu.au --parallel 8 -e compare --upload davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/ ~/testdata/

 

  Key Value Notes
Username -u user@institute.edu.au  
Parallel streams --parallel 8 Recommend not to go beyond 8 parallel streams
Transfer action for existing files -e compare Skips files that match size, modification date or checksum
Upload --upload    
Upload to   davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/ Upload to “test/” . The CloudStor path is whatever is after webdav/ in the url (davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/)
Upload from   ~/testdata/ Must use absolute paths

 

 

 

Parallel download example:

 

# duck -u user@institute.edu.au --parallel 8 -e compare --download davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/ /tmp/testdata/

 

  Key Value Notes
Username -u user@institute.edu.au  
Parallel streams --parallel 8 Recommend not to go beyond 8 parallel streams
Transfer action for existing files -e compare Skips files that match size, modification date or checksum
Download --download    
Download from   davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/ Download from “test/”. The CloudStor path is whatever is after webdav/ in the url (davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/)
Download to   /tmp/testdata/ Must use absolute paths

 

 

 

File listing example

 

# duck -u user@institute.edu.au --list davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/

 

  Key Value Notes
Username -u user@institute.edu.au  
List --list    
List from   davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/ List from “test/”. The CloudStor path is whatever is after webdav/ in the url (davs://cloudstor.aarnet.edu.au/plus/remote.php/webdav/test/)

 

 

 

More help with Cyberduck

 

# duck --help