From 8d445310effdb12ef8cec86aae286af81b4e40d6 Mon Sep 17 00:00:00 2001 From: stkhan Date: Thu, 7 Dec 2023 21:09:24 +0000 Subject: Fix download --- drivesync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivesync b/drivesync index db3b47d..333c3b8 100755 --- a/drivesync +++ b/drivesync @@ -8,7 +8,7 @@ upload() { } download() { - curl -u $username:$password -T $file $server/remote.php/dav/files/$username/$path/ + curl -X GET -u $username:$password $server/remote.php/dav/files/$username/$file --output $path } -- cgit v1.2.3