Skip to content

Instantly share code, notes, and snippets.

@ace-3721
ace-3721 / webdav_curl.md
Created July 7, 2024 02:48 — forked from stokito/webdav_curl.md
WebDAV with curl for scripts and command line

Assuming the following:

  • Webdav share URL: http://example.com/dav/
  • Username: user
  • Password: pass

curl options:

  • -u username:password use HTTP Basic authorization with the folowing username and password
  • -X GET send a request with GET method. You can use any other methods here.