上传
通过Basic Authentication鉴权,PUT上传
curl -X PUT \
-u username:password \ # 用户名和密码
-T /path/to/local/file.txt \ # 本地文件路径
http://example.com/webdav/path/to/remote/file.txt # 远程服务器路径
通过Basic Authentication鉴权,PUT上传
curl -X PUT \
-u username:password \ # 用户名和密码
-T /path/to/local/file.txt \ # 本地文件路径
http://example.com/webdav/path/to/remote/file.txt # 远程服务器路径