mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
docs: consistent capitalization of WebDAV, DLNA, HTTP
This commit is contained in:
parent
ee87e919c5
commit
bc70a95fca
|
@ -111,7 +111,7 @@ These backends adapt or modify other storage providers
|
||||||
* Optional encryption ([Crypt](https://rclone.org/crypt/))
|
* Optional encryption ([Crypt](https://rclone.org/crypt/))
|
||||||
* Optional FUSE mount ([rclone mount](https://rclone.org/commands/rclone_mount/))
|
* Optional FUSE mount ([rclone mount](https://rclone.org/commands/rclone_mount/))
|
||||||
* Multi-threaded downloads to local disk
|
* Multi-threaded downloads to local disk
|
||||||
* Can [serve](https://rclone.org/commands/rclone_serve/) local or remote files over HTTP/WebDav/FTP/SFTP/dlna
|
* Can [serve](https://rclone.org/commands/rclone_serve/) local or remote files over HTTP/WebDAV/FTP/SFTP/DLNA
|
||||||
|
|
||||||
## Installation & documentation
|
## Installation & documentation
|
||||||
|
|
||||||
|
|
|
@ -35,11 +35,11 @@ var (
|
||||||
func init() {
|
func init() {
|
||||||
fsi := &fs.RegInfo{
|
fsi := &fs.RegInfo{
|
||||||
Name: "http",
|
Name: "http",
|
||||||
Description: "http Connection",
|
Description: "HTTP Connection",
|
||||||
NewFs: NewFs,
|
NewFs: NewFs,
|
||||||
Options: []fs.Option{{
|
Options: []fs.Option{{
|
||||||
Name: "url",
|
Name: "url",
|
||||||
Help: "URL of http host to connect to.\n\nE.g. \"https://example.com\", or \"https://user:pass@example.com\" to use a username and password.",
|
Help: "URL of HTTP host to connect to.\n\nE.g. \"https://example.com\", or \"https://user:pass@example.com\" to use a username and password.",
|
||||||
Required: true,
|
Required: true,
|
||||||
}, {
|
}, {
|
||||||
Name: "headers",
|
Name: "headers",
|
||||||
|
|
|
@ -66,7 +66,7 @@ func init() {
|
||||||
|
|
||||||
fs.Register(&fs.RegInfo{
|
fs.Register(&fs.RegInfo{
|
||||||
Name: "webdav",
|
Name: "webdav",
|
||||||
Description: "Webdav",
|
Description: "WebDAV",
|
||||||
NewFs: NewFs,
|
NewFs: NewFs,
|
||||||
Options: []fs.Option{{
|
Options: []fs.Option{{
|
||||||
Name: "url",
|
Name: "url",
|
||||||
|
@ -74,7 +74,7 @@ func init() {
|
||||||
Required: true,
|
Required: true,
|
||||||
}, {
|
}, {
|
||||||
Name: "vendor",
|
Name: "vendor",
|
||||||
Help: "Name of the Webdav site/service/software you are using.",
|
Help: "Name of the WebDAV site/service/software you are using.",
|
||||||
Examples: []fs.OptionExample{{
|
Examples: []fs.OptionExample{{
|
||||||
Value: "nextcloud",
|
Value: "nextcloud",
|
||||||
Help: "Nextcloud",
|
Help: "Nextcloud",
|
||||||
|
|
|
@ -19,8 +19,8 @@ import (
|
||||||
var Help = `
|
var Help = `
|
||||||
#### Template
|
#### Template
|
||||||
|
|
||||||
--template allows a user to specify a custom markup template for http
|
--template allows a user to specify a custom markup template for HTTP
|
||||||
and webdav serve functions. The server exports the following markup
|
and WebDAV serve functions. The server exports the following markup
|
||||||
to be used within the template to server pages:
|
to be used within the template to server pages:
|
||||||
|
|
||||||
| Parameter | Description |
|
| Parameter | Description |
|
||||||
|
@ -58,7 +58,7 @@ func AfterEpoch(t time.Time) bool {
|
||||||
return t.After(time.Time{})
|
return t.After(time.Time{})
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTemplate returns the HTML template for serving directories via HTTP/Webdav
|
// GetTemplate returns the HTML template for serving directories via HTTP/WebDAV
|
||||||
func GetTemplate(tmpl string) (tpl *template.Template, err error) {
|
func GetTemplate(tmpl string) (tpl *template.Template, err error) {
|
||||||
var templateString string
|
var templateString string
|
||||||
if tmpl == "" {
|
if tmpl == "" {
|
||||||
|
|
|
@ -53,8 +53,8 @@ inserts leading and trailing "/" on --baseurl, so --baseurl "rclone",
|
||||||
--baseurl "/rclone" and --baseurl "/rclone/" are all treated
|
--baseurl "/rclone" and --baseurl "/rclone/" are all treated
|
||||||
identically.
|
identically.
|
||||||
|
|
||||||
--template allows a user to specify a custom markup template for http
|
--template allows a user to specify a custom markup template for HTTP
|
||||||
and webdav serve functions. The server exports the following markup
|
and WebDAV serve functions. The server exports the following markup
|
||||||
to be used within the template to server pages:
|
to be used within the template to server pages:
|
||||||
|
|
||||||
| Parameter | Description |
|
| Parameter | Description |
|
||||||
|
@ -99,8 +99,8 @@ Use --realm to set the authentication realm.
|
||||||
|
|
||||||
#### SSL/TLS
|
#### SSL/TLS
|
||||||
|
|
||||||
By default this will serve over http. If you want you can serve over
|
By default this will serve over HTTP. If you want you can serve over
|
||||||
https. You will need to supply the --cert and --key flags. If you
|
HTTPS. You will need to supply the --cert and --key flags. If you
|
||||||
wish to do client side certificate validation then you will need to
|
wish to do client side certificate validation then you will need to
|
||||||
supply --client-ca also.
|
supply --client-ca also.
|
||||||
|
|
||||||
|
|
|
@ -43,14 +43,14 @@ func init() {
|
||||||
// Command definition for cobra
|
// Command definition for cobra
|
||||||
var Command = &cobra.Command{
|
var Command = &cobra.Command{
|
||||||
Use: "webdav remote:path",
|
Use: "webdav remote:path",
|
||||||
Short: `Serve remote:path over webdav.`,
|
Short: `Serve remote:path over WebDAV.`,
|
||||||
Long: `
|
Long: `
|
||||||
rclone serve webdav implements a basic webdav server to serve the
|
rclone serve webdav implements a basic WebDAV server to serve the
|
||||||
remote over HTTP via the webdav protocol. This can be viewed with a
|
remote over HTTP via the WebDAV protocol. This can be viewed with a
|
||||||
webdav client, through a web browser, or you can make a remote of
|
WebDAV client, through a web browser, or you can make a remote of
|
||||||
type webdav to read and write it.
|
type WebDAV to read and write it.
|
||||||
|
|
||||||
### Webdav options
|
### WebDAV options
|
||||||
|
|
||||||
#### --etag-hash
|
#### --etag-hash
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ Rclone helps you:
|
||||||
- [Move](/commands/rclone_move/) files to cloud storage deleting the local after verification
|
- [Move](/commands/rclone_move/) files to cloud storage deleting the local after verification
|
||||||
- [Check](/commands/rclone_check/) hashes and for missing/extra files
|
- [Check](/commands/rclone_check/) hashes and for missing/extra files
|
||||||
- [Mount](/commands/rclone_mount/) your cloud storage as a network disk
|
- [Mount](/commands/rclone_mount/) your cloud storage as a network disk
|
||||||
- [Serve](/commands/rclone_serve/) local or remote files over [HTTP](/commands/rclone_serve_http/)/[WebDav](/commands/rclone_serve_webdav/)/[FTP](/commands/rclone_serve_ftp/)/[SFTP](/commands/rclone_serve_sftp/)/[dlna](/commands/rclone_serve_dlna/)
|
- [Serve](/commands/rclone_serve/) local or remote files over [HTTP](/commands/rclone_serve_http/)/[WebDav](/commands/rclone_serve_webdav/)/[FTP](/commands/rclone_serve_ftp/)/[SFTP](/commands/rclone_serve_sftp/)/[DLNA](/commands/rclone_serve_dlna/)
|
||||||
- Experimental [Web based GUI](/gui/)
|
- Experimental [Web based GUI](/gui/)
|
||||||
|
|
||||||
## Supported providers {#providers}
|
## Supported providers {#providers}
|
||||||
|
|
|
@ -118,7 +118,7 @@ e.g.
|
||||||
export no_proxy=localhost,127.0.0.0/8,my.host.name
|
export no_proxy=localhost,127.0.0.0/8,my.host.name
|
||||||
export NO_PROXY=$no_proxy
|
export NO_PROXY=$no_proxy
|
||||||
|
|
||||||
Note that the ftp backend does not support `ftp_proxy` yet.
|
Note that the FTP backend does not support `ftp_proxy` yet.
|
||||||
|
|
||||||
### Rclone gives x509: failed to load system roots and no roots provided error ###
|
### Rclone gives x509: failed to load system roots and no roots provided error ###
|
||||||
|
|
||||||
|
|
|
@ -274,7 +274,7 @@ every path against the supplied regular expression(s).
|
||||||
Directory recursion optimisation occurs if either:
|
Directory recursion optimisation occurs if either:
|
||||||
|
|
||||||
* A source remote does not support the rclone `ListR` primitive. local,
|
* A source remote does not support the rclone `ListR` primitive. local,
|
||||||
sftp, Microsoft OneDrive and WebDav do not support `ListR`. Google
|
sftp, Microsoft OneDrive and WebDAV do not support `ListR`. Google
|
||||||
Drive and most bucket type storage do. [Full list](https://rclone.org/overview/#optional-features)
|
Drive and most bucket type storage do. [Full list](https://rclone.org/overview/#optional-features)
|
||||||
|
|
||||||
* On other remotes (those that support `ListR`), if the rclone command is not naturally recursive, and
|
* On other remotes (those that support `ListR`), if the rclone command is not naturally recursive, and
|
||||||
|
|
|
@ -52,7 +52,7 @@ name> remote
|
||||||
Type of storage to configure.
|
Type of storage to configure.
|
||||||
Choose a number from below, or type in your own value
|
Choose a number from below, or type in your own value
|
||||||
[snip]
|
[snip]
|
||||||
XX / http Connection
|
XX / HTTP Connection
|
||||||
\ "http"
|
\ "http"
|
||||||
[snip]
|
[snip]
|
||||||
Storage> http
|
Storage> http
|
||||||
|
|
|
@ -670,7 +670,7 @@ Description: Using application 'rclone' is currently not supported for your orga
|
||||||
|
|
||||||
This means that rclone can't use the OneDrive for Business API with your account. You can't do much about it, maybe write an email to your admins.
|
This means that rclone can't use the OneDrive for Business API with your account. You can't do much about it, maybe write an email to your admins.
|
||||||
|
|
||||||
However, there are other ways to interact with your OneDrive account. Have a look at the webdav backend: https://rclone.org/webdav/#sharepoint
|
However, there are other ways to interact with your OneDrive account. Have a look at the WebDAV backend: https://rclone.org/webdav/#sharepoint
|
||||||
|
|
||||||
### invalid\_grant (AADSTS50076) ####
|
### invalid\_grant (AADSTS50076) ####
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ name> remote
|
||||||
Type of storage to configure.
|
Type of storage to configure.
|
||||||
Choose a number from below, or type in your own value
|
Choose a number from below, or type in your own value
|
||||||
[snip]
|
[snip]
|
||||||
XX / Webdav
|
XX / WebDAV
|
||||||
\ "webdav"
|
\ "webdav"
|
||||||
[snip]
|
[snip]
|
||||||
Storage> webdav
|
Storage> webdav
|
||||||
|
@ -40,7 +40,7 @@ Choose a number from below, or type in your own value
|
||||||
1 / Connect to example.com
|
1 / Connect to example.com
|
||||||
\ "https://example.com"
|
\ "https://example.com"
|
||||||
url> https://example.com/remote.php/webdav/
|
url> https://example.com/remote.php/webdav/
|
||||||
Name of the Webdav site/service/software you are using
|
Name of the WebDAV site/service/software you are using
|
||||||
Choose a number from below, or type in your own value
|
Choose a number from below, or type in your own value
|
||||||
1 / Nextcloud
|
1 / Nextcloud
|
||||||
\ "nextcloud"
|
\ "nextcloud"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user