summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}