Skip to content

Commit 48952f5

Browse files
authored
Merge pull request #536 from iterate-ch/issue/524
Add information for subpath access
2 parents 1c7544d + f5d18db commit 48952f5

File tree

2 files changed

+30
-28
lines changed

2 files changed

+30
-28
lines changed

cli/index.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -184,25 +184,27 @@ The `<url>` argument for `--copy`, `--download`, `--upload`, and `--synchronize`
184184
Spaces and other special-characters are not required to be percent-encoded (e.g. `%20` for space) as long as the path is quoted `duck --upload "scheme://hostname/path with/spaces" "/Path/To/Local/File With/Spaces"`.
185185
```
186186

187-
| Protocol | Fully Qualified URI required | Absolute Path | Relative Path |
188-
| --- | --- | --- | --- |
189-
| Windows Azure Storage | No | `azure:/<container>/<key>` | `azure:<container>/<key>` |
190-
| Backblaze B2 Cloud Storage | No | `b2:/<container>/<key>` | `b2:<container>/<key>` |
191-
| WebDAV (HTTP) | Yes (`dav://<hostname>/<path>`) |||
192-
| WebDAV (HTTPS) | Yes (`davs://<hostname>/<path>`) |||
193-
| Dracoon (Email Address) | Yes (`dracoon://<hostname>/<path>`) |||
194-
| Dropbox | No | `dropbox:/<path>` | `dropbox:<path>` |
195-
| Local | No | `file:/<path>` | `file:<path>` |
196-
| FTP (File Transfer Protocol) | Yes (`ftp://<hostname>/<path>`) |||
197-
| FTPS (Explicit Auth TSL) | Yes (`ftps://<hostname>/<path>`) |||
198-
| Google Drive | No | `googledrive:/<path>` | `googledrive:<path>` |
199-
| Google Cloud Storage | No | `gs:/<path>` | `gs:<path>` |
200-
| Microsoft OneDrive | No | `onedrive:/<path>` | `onedrive:<path>` |
201-
| Amazon S3 | `s3://<hostname>/<container>/<key>` | `s3:/<container>/<key>` <br/>(using `s3.amazonaws.com`) | `s3:<container>/<key>` <br/>(using `s3.amazonaws.com`) |
202-
| SFTP (SSH File Transfer <br/>Protocol) | Yes (`sftp://<hostname>/<path>`) |||
203-
| Spectra S3 (HTTPS) | Yes<br/>(`spectra://<hostname>/<container>/<key>`) |||
204-
| Rackspace Cloud Files (US) | No | `rackspace:/<container>/<key>` | `rackspace:<container>/<key>` |
205-
| Swift (OpenStack Object<br/>Storage) | Yes (`swift://<hostname>/<container>/<key>`) |||
187+
| Protocol | Fully Qualified URI required | Absolute Path | Relative Path |
188+
|----------------------------------------|----------------------------------------------------|---------------------------------------------------------|--------------------------------------------------------|
189+
| Windows Azure Storage | No | `azure:/<container>/<key>` | `azure:<container>/<key>` |
190+
| Backblaze B2 Cloud Storage | No | `b2:/<container>/<key>` | `b2:<container>/<key>` |
191+
| WebDAV (HTTP) | Yes (`dav://<hostname>/<path>`) | | |
192+
| WebDAV (HTTPS) | Yes (`davs://<hostname>/<path>`) | | |
193+
| Nextcloud | Yes (`nextcloud://<hostname>/<path>`) | | |
194+
| ownCloud | Yes (`owncloud://<hostname>/<path>`) | | |
195+
| DRACOON (Email Address) | Yes (`dracoon://<hostname>/<path>`) | | |
196+
| Dropbox | No | `dropbox:/<path>` | `dropbox:<path>` |
197+
| Local | No | `file:/<path>` | `file:<path>` |
198+
| FTP (File Transfer Protocol) | Yes (`ftp://<hostname>/<path>`) | | |
199+
| FTPS (Explicit Auth TSL) | Yes (`ftps://<hostname>/<path>`) | | |
200+
| Google Drive | No | `googledrive:/<path>` | `googledrive:<path>` |
201+
| Google Cloud Storage | No | `gs:/<path>` | `gs:<path>` |
202+
| Microsoft OneDrive | No | `onedrive:/<path>` | `onedrive:<path>` |
203+
| Amazon S3 | `s3://<hostname>/<container>/<key>` | `s3:/<container>/<key>` <br/>(using `s3.amazonaws.com`) | `s3:<container>/<key>` <br/>(using `s3.amazonaws.com`) |
204+
| SFTP (SSH File Transfer <br/>Protocol) | Yes (`sftp://<hostname>/<path>`) | | |
205+
| Spectra S3 (HTTPS) | Yes<br/>(`spectra://<hostname>/<container>/<key>`) | | |
206+
| Rackspace Cloud Files (US) | No | `rackspace:/<container>/<key>` | `rackspace:<container>/<key>` |
207+
| Swift (OpenStack Object<br/>Storage) | Yes (`swift://<hostname>/<container>/<key>`) | | |
206208

207209
#### Examples
208210

protocols/webdav/nextcloud.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ Download [Mountain Duck](https://mountainduck.io/) as an alternative to *Desktop
3333

3434
## Connecting
3535

36-
### Manual Configuration
37-
38-
Choose one of the protocols if you require a custom server path for your installation:
39-
40-
- Protocol: `WebDAV (HTTPS)`
41-
- Default Path: `/remote.php/webdav/`
42-
4336
### Connection Profiles
4437

45-
- Protocol: `Nextcloud`
38+
Select the connection profile in _Protocol_ bundled by default:
39+
- Protocol: `Nextcloud`
4640
- Protocol: `ownCloud`
4741

42+
Alternatively you can connect using `WebDAV (HTTPS)` with the default path set to `/remote.php/webdav/`.
43+
4844
```{tip}
49-
The default path `/remote.php/dav/files/<username>` will be used with no custom setting in _Path_.
45+
The default path `/remote.php/dav/files/<username>` will be used with no custom setting in _Path_ to access the WebDAV API.
46+
```
47+
48+
```{attention}
49+
You are required to set a _Path_ only if your installation is accessible under a subdirectory such as `example.net/cloud/` this can be indicated by setting a default path of `directory/remote.php/webdav`. You can omit the value in _Path_ if your installation defaults to the root of your domain and is accessible at `example.net/remote.php/dav/files/<username>`.
5050
```
5151

5252
### Step-by-Step Instructions

0 commit comments

Comments
 (0)