summaryrefslogtreecommitdiff
path: root/drivesync
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-12-07 21:09:24 +0000
committerstkhan <personal@slickd.xyz>2023-12-07 21:09:24 +0000
commit8d445310effdb12ef8cec86aae286af81b4e40d6 (patch)
tree61c5cdba0af37a2b22793ac7684cd6851b5cf4e8 /drivesync
parent864f0fd9588ced475e6cc609273e259d9f8d431e (diff)
Fix download
Diffstat (limited to 'drivesync')
-rwxr-xr-xdrivesync2
1 files changed, 1 insertions, 1 deletions
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
}