mirror of
https://github.com/rclone/rclone.git
synced 2026-01-02 08:33:50 +00:00
webdav: add "fastmail" provider for Fastmail Files
This provider: - supports the `X-OC-Mtime` header to set the mtime - calculates SHA1 checksum server side and returns it as a `ME:sha1hex` prop To differentiate the new hasMESHA1 quirk, the existing hasMD5 and hasSHA1 quirks for Owncloud have been renamed to hasOCMD5 and hasOCSHA1. Fixes #6837
This commit is contained in:
committed by
Nick Craig-Wood
parent
0e134364ac
commit
29fe0177bd
@@ -121,6 +121,7 @@ WebDAV or S3, that work out of the box.)
|
||||
{{< provider name="Dreamhost" home="https://www.dreamhost.com/cloud/storage/" config="/s3/#dreamhost" >}}
|
||||
{{< provider name="Dropbox" home="https://www.dropbox.com/" config="/dropbox/" >}}
|
||||
{{< provider name="Enterprise File Fabric" home="https://storagemadeeasy.com/about/" config="/filefabric/" >}}
|
||||
{{< provider name="Fastmail Files" home="https://www.fastmail.com/" config="/webdav/#fastmail-files" >}}
|
||||
{{< provider name="FTP" home="https://en.wikipedia.org/wiki/File_Transfer_Protocol" config="/ftp/" >}}
|
||||
{{< provider name="Google Cloud Storage" home="https://cloud.google.com/storage/" config="/googlecloudstorage/" >}}
|
||||
{{< provider name="Google Drive" home="https://www.google.com/drive/" config="/drive/" >}}
|
||||
|
||||
@@ -68,9 +68,9 @@ This is an SHA256 sum of all the 4 MiB block SHA256s.
|
||||
² SFTP supports checksums if the same login has shell access and
|
||||
`md5sum` or `sha1sum` as well as `echo` are in the remote's PATH.
|
||||
|
||||
³ WebDAV supports hashes when used with Owncloud and Nextcloud only.
|
||||
³ WebDAV supports hashes when used with Fastmail Files. Owncloud and Nextcloud only.
|
||||
|
||||
⁴ WebDAV supports modtimes when used with Owncloud and Nextcloud only.
|
||||
⁴ WebDAV supports modtimes when used with Fastmail Files, Owncloud and Nextcloud only.
|
||||
|
||||
⁵ [QuickXorHash](https://docs.microsoft.com/en-us/onedrive/developer/code-snippets/quickxorhash) is Microsoft's own hash.
|
||||
|
||||
|
||||
@@ -43,17 +43,19 @@ Choose a number from below, or type in your own value
|
||||
url> https://example.com/remote.php/webdav/
|
||||
Name of the WebDAV site/service/software you are using
|
||||
Choose a number from below, or type in your own value
|
||||
1 / Nextcloud
|
||||
\ "nextcloud"
|
||||
2 / Owncloud
|
||||
\ "owncloud"
|
||||
3 / Sharepoint Online, authenticated by Microsoft account.
|
||||
\ "sharepoint"
|
||||
4 / Sharepoint with NTLM authentication. Usually self-hosted or on-premises.
|
||||
\ "sharepoint-ntlm"
|
||||
5 / Other site/service or software
|
||||
\ "other"
|
||||
vendor> 1
|
||||
1 / Fastmail Files
|
||||
\ (fastmail)
|
||||
2 / Nextcloud
|
||||
\ (nextcloud)
|
||||
3 / Owncloud
|
||||
\ (owncloud)
|
||||
4 / Sharepoint Online, authenticated by Microsoft account
|
||||
\ (sharepoint)
|
||||
5 / Sharepoint with NTLM authentication, usually self-hosted or on-premises
|
||||
\ (sharepoint-ntlm)
|
||||
6 / Other site/service or software
|
||||
\ (other)
|
||||
vendor> 2
|
||||
User name
|
||||
user> user
|
||||
Password.
|
||||
@@ -100,10 +102,10 @@ To copy a local directory to an WebDAV directory called backup
|
||||
### Modified time and hashes ###
|
||||
|
||||
Plain WebDAV does not support modified times. However when used with
|
||||
Owncloud or Nextcloud rclone will support modified times.
|
||||
Fastmail Files, Owncloud or Nextcloud rclone will support modified times.
|
||||
|
||||
Likewise plain WebDAV does not support hashes, however when used with
|
||||
Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes.
|
||||
Fastmail Files, Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes.
|
||||
Depending on the exact version of Owncloud or Nextcloud hashes may
|
||||
appear on all objects, or only on objects which had a hash uploaded
|
||||
with them.
|
||||
@@ -242,6 +244,16 @@ Properties:
|
||||
|
||||
See below for notes on specific providers.
|
||||
|
||||
## Fastmail Files
|
||||
|
||||
Use `https://webdav.fastmail.com/` or a subdirectory as the URL,
|
||||
and your Fastmail email `username@domain.tld` as the username.
|
||||
Follow [this documentation](https://www.fastmail.help/hc/en-us/articles/360058752854-App-passwords)
|
||||
to create an app password with access to `Files (WebDAV)` and use
|
||||
this as the password.
|
||||
|
||||
Fastmail supports modified times using the `X-OC-Mtime` header.
|
||||
|
||||
### Owncloud
|
||||
|
||||
Click on the settings cog in the bottom right of the page and this
|
||||
|
||||
Reference in New Issue
Block a user