til Upload files to Nextcloud using curl (and webdav) I recently had the need to upload a bunch of PDF files from a linux server to my Nextcloud instance. Nextcloud doesn't currently have a headless linux client, but WebDAV is available by default. Uploading a single file is as simple as: curl -T