跳至內容
MasterDragon
使用者工具
登入
網站工具
搜尋
工具
顯示頁面
舊版
反向連結
最近更新
多媒體管理器
網站地圖
登入
>
最近更新
多媒體管理器
網站地圖
足跡:
service:webdav:webdav_by_curl
本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。
====== webdav by curl ====== ===== to upload a file ===== curl --digest --user 'user:pass' -T SomeFile.html 'http://uwiki.net/uwiki/SomeFile.html' ===== create a dir ===== curl --digest --user 'user:pass' -X MKCOL http://uwiki.net/uwiki/ ===== move/rename a file ===== curl --digest --user 'user:pass' -X MOVE --header 'Destination: http://uwiki.net/uwiki/curl_dav.html' http://quad/svn/SomeFile.html ===== list of files in a dir ===== <code> curl -i -X PROPFIND http://uwiki.org/uwiki/ --upload-file - -H "Depth: 1" <<end <?xml version="1.0"?> <a:propfind xmlns:a="DAV:"> <a:prop><a:resourcetype/></a:prop> </a:propfind> end </code> some info gleaned from [[http://msdn.microsoft.com/en-us/library/exchange/aa142926(v=exchg.65).aspx|msdn webDAV reference]] meanwhile, don't make me read the [[http://www.webdav.org/specs/rfc2518.html|webDAV specs]] oh wow, in a very depressing way - [[http://tech.kateva.org/2008/10/webdav-microsoft-dreamhost-and-insane.html|microsoft make webdav hard]] 另一個: http://italiangrid.github.io/storm/documentation/webdav-guide/3.0.0/
service/webdav/webdav_by_curl.txt
· 上一次變更: 2019/11/16 08:12 由
127.0.0.1
頁面工具
顯示頁面
舊版
反向連結
回到頁頂