Created
September 14, 2020 07:52
-
-
Save spyesx/e279a43725989e8adc02526216c02226 to your computer and use it in GitHub Desktop.
Upload a file to Nextcloud with curl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: https://docs.nextcloud.com/server/19/user_manual/files/access_webdav.html#accessing-files-using-curl | |
curl -u USERNAME:PASSWORD -T /path/to/file https://my.nextcloud.tld/remote.php/dav/files/USERNAME/path/to/directory/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice!