Nextcloud: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 23: Line 23:


=Using UNIX Command Line Tools=
=Using UNIX Command Line Tools=
You can also use any available WebDAV command line clients, like [https://curl.haxx.se/ curl] and [http://www.webdav.org/cadaver/ cadaver], to copy files between your host and nextCloud. Command line tools are useful when you copy data between a remote host you login to and nextCloud.
cURL is usually installed on Mac OSX and Linux systems and can be used to upload and download files using an URL.
==Upload a file using curl:==
{{Command|curl -k -u <username> -T <filename> https://nextcloud.computecanada.ca/remote.php/webdav/}}
==Download a file using curl==
{{Command|curl -k -u <username> https://nextcloud.computecanada.ca/remote.php/webdav/<filename> -o <filename>}}
cadaver is a WebDAV command line interactive client for UNIX. It works much like standard UNIX ftp command:
{{Command|cadaver https://nextcloud.computecanada.ca/remote.php/webdav/}}
After login, you can use any ftp commands like help, ls, put, get, delete, mput, mget, etc.


=Sharing Files using nextCloud=
=Sharing Files using nextCloud=
cc_staff
415

edits

Navigation menu