curl(1) -k -u %3Cusername%3E -T %3Cfilename%3E https%3A%2F%2Fnextcloud.computecanada.ca%2Fremote.php%2Fwebdav%2F
transfer a URL
-k, --insecure
       (SSL)  This option explicitly allows curl to perform "insecure" SSL connections and transfers. All
       SSL connections are attempted to be made secure by using the CA certificate  bundle  installed  by
       default. This makes all connections considered "insecure" fail unless -k, --insecure is used.

       See this online resource for further details: http://curl.haxx.se/docs/sslcerts.html
-u, --user <user:password>
       Specify the user name and password to use for server authentication.  Overrides  -n,  --netrc  and
       --netrc-optional.

       If you just give the user name (without entering a colon) curl will prompt for a password.

       If  you  use an SSPI-enabled curl binary and do NTLM authentication, you can force curl to pick up
       the user name and password from your environment by simply specifying a  single  colon  with  this
       option: "-u :".

       If this option is used several times, the last one will be used.
-T, --upload-file <file>
       This  transfers  the  specified  local  file  to  the  remote URL. If there is no file part in the
       specified URL, Curl will append the local file name. NOTE that you must use a trailing  /  on  the
       last  directory  to  really  prove to Curl that there is no file name or curl will think that your
       last directory name is the remote file name to  use.  That  will  most  likely  cause  the  upload
       operation to fail. If this is used on a HTTP(S) server, the PUT command will be used.
source manpages: curl