Skip to content

Commit

Permalink
remote: use own/nextcloud URL examples for WebDAV
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeorpinel committed Aug 26, 2020
1 parent 357713b commit 97e6114
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions content/docs/command-reference/remote/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,16 @@ $ dvc remote add -d myremote https://example.com/path/to/dir
### Click for WebDAV

```dvc
$ dvc remote add -d myremote webdavs://example.com/public.php/webdav
$ dvc remote add -d myremote \
webdavs://example.com/owncloud/remote.php/dav
```

If your remote is located in a subfolder of your WebDAV server e.g.
`/path/to/dir`, this may be appended to the base URL:

```dvc
$ dvc remote add -d myremote \
webdavs://example.com/public.php/webdav/path/to/dir
webdavs://example.com/owncloud/remote.php/dav/files/USERNAME/
```

> See also `dvc remote modify` for a full list of WebDAV parameters.
Expand Down
4 changes: 2 additions & 2 deletions content/docs/command-reference/remote/modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ more information.

```dvc
$ dvc remote modify myremote url \
webdavs://example.com/public.php/webdav/path/to/dir
webdavs://example.com/nextcloud/remote.php/dav/files/USERNAME/
```

- `token` - token for WebDAV server, can be empty in case of using
Expand All @@ -660,7 +660,7 @@ more information.
The order in which DVC searches for username is:

1. `user` parameter set with this command (found in `.dvc/config`);
2. User defined in the URL (e.g. `webdav://[email protected]/path`)
2. User defined in the URL (e.g. `webdavs://[email protected]/endpoint/path`)

- `password` - password for WebDAV server, can be empty in case of using `token`
authentication.
Expand Down

0 comments on commit 97e6114

Please sign in to comment.