make this server appear on your computer as a regular HDD!
pick your favorite below (sorted by performance, best first) and lets 🎉
placeholders:
hunter2=password, W:=mountpoint
hunter2=password, mp=mountpoint
use real password
show qr
if you can, install winfsp+rclone and then paste this in cmd:
rclone config create AlgebraArhiv-dav webdav url=https://private.m.com.hr vendor=owncloud pacer_min_sleep=0.01ms user=k pass=hunter2
rclone mount --vfs-cache-mode writes --dir-cache-time 5s AlgebraArhiv-dav: W:
rclone mount on LAN (or just dont have valid certificates)? add --no-check-certificate= with (space)if you want to use the native WebDAV client in windows instead (slow and buggy), first run webdav-cfg.bat to remove the 47 MiB filesize limit (also fixes latency and password login), then connect:
net use w: https://private.m.com.hr/ k /user:hunter2
rclone (v1.63 or later) is recommended:
rclone config create AlgebraArhiv-dav webdav url=https://private.m.com.hr vendor=owncloud pacer_min_sleep=0.01ms user=k pass=hunter2
rclone mount --vfs-cache-mode writes --dir-cache-time 5s AlgebraArhiv-dav: mp
rclone mount on LAN (or just dont have valid certificates)? add --no-check-certificaterclone mount as root? add --allow-other= with (space)alternatively use davfs2 (requires root, is slower, forgets lastmodified-timestamp on upload):
yum install davfs2
printf '%s\n' hunter2 k | mount -t davfs -ouid=1000 https://private.m.com.hr/ mp
make davfs2 automount on boot:
printf '%s\n' "https://private.m.com.hr/ hunter2 k" >> /etc/davfs2/secrets
printf '%s\n' "https://private.m.com.hr/ mp davfs rw,user,uid=1000,noauto 0 0" >> /etc/fstab
or the emergency alternative (gnome/gui-only):
echo hunter2 | gio mount davs://k@private.m.com.hr/
on KDE Dolphin, use webdavs://private.m.com.hr/
osascript -e ' mount volume "https://k:hunter2@private.m.com.hr/" '
or you can open up a Finder, press command-K and paste this instead:
https://k:hunter2@private.m.com.hr/
replace https with http if it doesn't work
partyfuse.py -- fast, read-only, needs fuse.py in the same folder, needs winfsp doesn't need root
partyfuse.py -a hunter2 https://private.m.com.hr/ W:mp
-tdyou can use u2c.py to upload (sometimes faster than web-browsers)
to upload screenshots using ShareX v15+, save this as copyparty.sxcu and run it:
{ "Version": "15.0.0", "Name": "copyparty",
"RequestURL": "https://private.m.com.hr/",
"Headers": {
"pw": "hunter2", "accept": "url"
},
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"Body": "MultipartFormData", "URL": "{response}",
"RequestMethod": "POST", "FileFormName": "f" }
for ShareX v12 specifically, save this as copyparty.sxcu and run it:
{ "Name": "copyparty",
"RequestURL": "https://private.m.com.hr/",
"Headers": {
"pw": "hunter2", "accept": "url"
},
"DestinationType": "ImageUploader, TextUploader, FileUploader",
"FileFormName": "f" }
to upload screenshots using ishare, save this as copyparty.iscu and run it:
{ "Name": "copyparty",
"RequestURL": "https://private.m.com.hr/",
"Headers": {
"pw": "hunter2",
"accept": "json"
},
"ResponseURL": "{{fileurl}}",
"FileFormName": "f" }
to upload screenshots using flameshot, save this as flameshot.sh and run it:
#!/bin/bash
pw="hunter2"
url="https://private.m.com.hr/"
filename="$(date +%Y-%m%d-%H%M%S).png"
flameshot gui -s -r | curl -sT- "$url$filename?want=url&pw=$pw" | xsel -ib