From f0e98d6e0d2a320fd5cf9c5341489e156b277151 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 18 Oct 2022 20:52:12 +0200 Subject: [PATCH] win7 webdav workarounds --- README.md | 1 + contrib/README.md | 3 +++ contrib/webdav-basicauth.reg | Bin 0 -> 458 bytes contrib/webdav-unlimit.bat | 15 +++++++++++++++ 4 files changed, 19 insertions(+) create mode 100644 contrib/webdav-basicauth.reg create mode 100644 contrib/webdav-unlimit.bat diff --git a/README.md b/README.md index 4594a1c0..b9efa37c 100644 --- a/README.md +++ b/README.md @@ -723,6 +723,7 @@ known issues: * winxp cannot show unicode characters outside of *some range* * latin-1 is fine, hiragana is not (not even as shift-jis on japanese xp) * win7 cannot access servers which require authentication unless you use https or [enable basic authentication](./contrib/webdav-basicauth.reg) for http +* win7 has a bug where it doesn't actually send the password to the server, so please type your password into the username field ## file indexing diff --git a/contrib/README.md b/contrib/README.md index b1297d6b..a580069f 100644 --- a/contrib/README.md +++ b/contrib/README.md @@ -32,6 +32,9 @@ however if your copyparty is behind a reverse-proxy, you may want to use [`share ### [`webdav-basicauth.reg`](webdav-basicauth.reg) * enables webdav basic-auth over plaintext http +### [`webdav-unlimit.bat`](webdav-unlimit.bat) +* removes the 47.6 MiB filesize limit when downloading from webdav + ### [`cfssl.sh`](cfssl.sh) * creates CA and server certificates using cfssl * give a 3rd argument to install it to your copyparty config diff --git a/contrib/webdav-basicauth.reg b/contrib/webdav-basicauth.reg new file mode 100644 index 0000000000000000000000000000000000000000..3d34d0b21d874adaef9757bd2c1d81e26009d563 GIT binary patch literal 458 zcmezWFPtHhA&()2A)ld~p_oB|A&4QBA)O(Up_rkBp@^Z9L4m=QA%!86p@boyp@>0& zA&eoFp@^ZFA(J7WA&)_U!IVLd!GOVlftP^`jI9|I7*ZMX7!nzh7;+d=859`G8B!UN z7*ZG#8Oj(G7?Kzg!Mc+fbQuyEN*PKRG8hyX@)^p&<|;50Fyt^Kg56ZYkjhZOP{N?V zkik&GP{L5a05Us;A(bHwtTP8J2Xd(bgCTz>% literal 0 HcmV?d00001 diff --git a/contrib/webdav-unlimit.bat b/contrib/webdav-unlimit.bat new file mode 100644 index 00000000..7960467d --- /dev/null +++ b/contrib/webdav-unlimit.bat @@ -0,0 +1,15 @@ +@echo off +rem removes the 47.6 MiB filesize limit when downloading from webdav + +at > nul +if %errorlevel% neq 0 ( + echo you must run this as admin + pause + exit /b 1 +) + +reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters /v FileSizeLimitInBytes /t REG_DWORD /d 0xffffffff /f +reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters /v FsCtlRequestTimeoutInSec /t REG_DWORD /d 0xffffffff /f +net stop WEBCLIENT +net start WEBCLIENT +pause