Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:nas:webdav [2023/03/06 08:38] – [WebDAV with Lighttpd] stokito | docs:guide-user:services:nas:webdav [2023/03/18 20:24] – [Test it] removed cadaver stokito | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| First of all if you already have the Lighttpd then update it and it's modules to avoid conflicts: | First of all if you already have the Lighttpd then update it and it's modules to avoid conflicts: | ||
| <code bash> | <code bash> | ||
| - | opkg list-installed | + | opkg update |
| + | opkg list-upgradable | ||
| </ | </ | ||
| Line 63: | Line 64: | ||
| <code bash> | <code bash> | ||
| - | curl -u youruser -X PROPFIND -H "Depth: 1" | + | curl -u youruser:pass -X PROPFIND -H 'Depth: 1' |
| </ | </ | ||
| You must see a 207 status code and XML response with directory listing. | You must see a 207 status code and XML response with directory listing. | ||
| - | + | See more details and examples [[https://gist.github.com/stokito/cf82ce965718ce87f36b78f7501d7940|WebDAV with curl]] | |
| - | For advanced test install the FTP-like command line client '' | + | |
| - | + | ||
| - | < | + | |
| - | cadaver http://192.168.1.1/dav/ | + | |
| - | Authentication required for webdav on server `192.168.1.1': | + | |
| - | Username: youruser | + | |
| - | Password: | + | |
| - | dav:/ | + | |
| - | Listing collection `/ | + | |
| - | README.txt | + | |
| - | dav:/ | + | |
| - | Displaying `/ | + | |
| - | It works! | + | |
| - | dav:/ | + | |
| - | Connection to `192.168.1.1' | + | |
| - | </code> | + | |
| ==== Don't forget about encryption! ==== | ==== Don't forget about encryption! ==== | ||