webdav

Command-line utility for WebDAV upload


I need a command-line utility that can do WebDAV upload (HTTP PUT).


Solution

  • cURL will do it for you.

    curl -T filetoput.xml http://www.url.com/filetoput.xml
    

    Working example:

    curl -T pic.jpg -u me@example.com:longapppass https://webdav.cloud.server.com:443