Hello,
on one of my servers I run a script.
That script writes a log file and I want to upload that log file to my Nextcloud.
Binary “nextcloudcmd” provided by the client is not an option because I don’t want to sync, just uploading a file instead and delete it afterwards.
Tried cadaver but did not succeed.
Has anybody a hint for me to get this done in a bash script? Maybe I am blind.
Best way would be to show some code.
Or another tool?
Specs Nextcloud:
Version 18
Specs server:
OS is Ubuntu 19.04
Would you like to smile ?
Current workaround: Transfer the file via scp to third machine. There is the desktop client running and syncing the log file to my Nextcloud
Darkside: The third machine is not running all the time (saves energy) and here the trouble starts