From 2e85a256144ef031a2271c6582226f9d9d2fdd25 Mon Sep 17 00:00:00 2001
From: ed
Date: Sat, 4 Nov 2023 10:23:37 +0000
Subject: [PATCH] improve service listing
---
copyparty/web/svcs.html | 40 ++++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/copyparty/web/svcs.html b/copyparty/web/svcs.html
index c1aaf0bf..7678a233 100644
--- a/copyparty/web/svcs.html
+++ b/copyparty/web/svcs.html
@@ -10,6 +10,7 @@
{{ html_head }}
+
@@ -48,9 +49,13 @@
rclone config create {{ aname }}-dav webdav url=http{{ s }}://{{ rip }}{{ hport }} vendor=owncloud pacer_min_sleep=0.01ms{% if accs %} user=k pass={{ pw }}{% endif %}
rclone mount --vfs-cache-mode writes --dir-cache-time 5s {{ aname }}-dav:{{ rvp }} W:
- {% if s %}
-
note: if you are on LAN (or just dont have valid certificates), add --no-check-certificate to the mount command
---
rclone mount on LAN (or just dont have valid certificates)? add --no-check-certificaterclone mount as root? add --allow-other= 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:
@@ -73,10 +78,13 @@
rclone config create {{ aname }}-dav webdav url=http{{ s }}://{{ rip }}{{ hport }} vendor=owncloud pacer_min_sleep=0.01ms{% if accs %} user=k pass={{ pw }}{% endif %}
rclone mount --vfs-cache-mode writes --dir-cache-time 5s {{ aname }}-dav:{{ rvp }} mp
- {% if s %}
- note: if you are on LAN (or just dont have valid certificates), add --no-check-certificate to the mount command
---
rclone mount on LAN (or just dont have valid certificates)? add --no-check-certificaterclone mount as root? add --allow-other= with (space)or the emergency alternative (gnome/gui-only):
@@ -123,8 +131,14 @@
rclone config create {{ aname }}-ftps ftp host={{ rip }} port={{ args.ftps }} pass=k user={% if accs %}{{ pw }}{% else %}anonymous{% endif %} tls=false explicit_tls=true
rclone mount --vfs-cache-mode writes --dir-cache-time 5s {{ aname }}-ftps:{{ rvp }} W:
- note: if you are on LAN (or just dont have valid certificates), add no_check_certificate=true to the config command
---
no_check_certificate=true to the config commandrclone mount as root? add --allow-other= with (space)if you want to use the native FTP client in windows instead (please dont), press win+R and run this command:
explorer {{ "ftp" if args.ftp else "ftps" }}://{% if accs %}{{ pw }}:k@{% endif %}{{ host }}:{{ args.ftp or args.ftps }}/{{ rvp }}
@@ -145,8 +159,14 @@
rclone config create {{ aname }}-ftps ftp host={{ rip }} port={{ args.ftps }} pass=k user={% if accs %}{{ pw }}{% else %}anonymous{% endif %} tls=false explicit_tls=true
rclone mount --vfs-cache-mode writes --dir-cache-time 5s {{ aname }}-ftps:{{ rvp }} mp
- note: if you are on LAN (or just dont have valid certificates), add no_check_certificate=true to the config command
---
no_check_certificate=true to the config commandrclone mount as root? add --allow-other= with (space)emergency alternative (gnome/gui-only):
@@ -178,7 +198,7 @@
partyfuse.py{% if accs %} -a {{ pw }}{% endif %} http{{ s }}://{{ ep }}/{{ rvp }} W:mp
{% if s %}
- note: if you are on LAN (or just dont have valid certificates), add -td
-tdyou can use u2c.py to upload (sometimes faster than web-browsers)