I am trying to set a web application where many clients can connect through a Node.js http server and then upload/download files that will then be shown in different display
As an addition to the existing answers, I use the following function as alias:
cloud() { curl -X PUT -u ":" "https:///remote.php/webdav/${2:-$1}" --data-binary @"./$1" }
Just replace , and and put this in your .bash_aliases and you can upload your files with:
cloud filename cloud path filename