こちらと同じことを curl で行いました。
cadaver で Synology の WebDAV にアクセスする
ファイルのアップロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp01.txt
#
curl --user scott:secret -T tmp01.txt --url $URL -X PUT
ファイルのダウンロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp02.txt
#
curl --user scott:secret --url $URL -X GET > tmp02.txt
より安全なファイルのアップロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp01.txt
#
curl --netrc-file $HOME/.netrc -T tmp03.txt --url $URL -X PUT
より安全なファイルのダウンロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp02.txt
#
curl --netrc-file $HOME/.netrc --url $URL -X GET > tmp02.txt
$HOME/.netrc
$HOME/.netrc
machine example.synology.me
login scott
password secret