こちらと同じことを Httpie で行いました。
cadaver で Synology の WebDAV にアクセスする
curl で Synology の WebDAV にアクセスする
ファイルのアップロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp01.txt
#
http --auth scott:secret PUT $URL @tmp01.txt
ファイルのダウンロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp02.txt
#
http --auth scott:secret $URL > tmp02.txt
$HOME/.netrc を作成すれば、次でオーケーです。
より安全なファイルのアップロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp01.txt
#
http PUT $URL @tmp01.txt
より安全なファイルのダウンロード
URL=https://example.synology.me:5006/homes/scott/tmp/tmp02.txt
#
http $URL > tmp02.txt
$HOME/.netrc
$HOME/.netrc
machine example.synology.me
login scott
password secret