Rclone serve webdav to rclone webdav not working with modtime and hashes as expected from closed issue #3147

What is the problem you are having with rclone?

rclone serving WebDAV to rclone with a WebDAV remote does not set modtime or support hashes as expected from issue 3147

What is your rclone version (output from rclone version)

rclone v1.53.4
- os/arch: darwin/amd64
- go version: go1.15.6

(installed directly, not via brew)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

macOS for now. Eventually also to include x86 Linux

Which cloud storage system are you using? (eg Google Drive)

WebDAV

The command you were trying to run (eg rclone copy /tmp remote:tmp)

This is a test setup for now but hopefully this will help. It is serving a local test directory

$ rclone -v serve webdav .

On the other side

$ rclone lsjson --hash --no-mimetype web:
$ rclone lsjson --hash --no-mimetype webO:
$ rclone lsjson --hash --no-mimetype webN:

The rclone config contents with secrets removed.

[web]
type = webdav
url = http://127.0.0.1:8080/
vendor = other

[webN]
type = webdav
url = http://127.0.0.1:8080/
vendor = nextcloud

[webO]
type = webdav
url = http://127.0.0.1:8080/
vendor = owncloud

A log from the command with the -vv flag

There is nothing of interest on the remote side. It just lists the items without any hashes.

On the server side:

$ rclone -v serve webdav .
2021/01/25 12:50:28 INFO  : Local file system at REDACTED: poll-interval is not supported by this remote
2021/01/25 12:50:28 NOTICE: Local file system at REDACTED: WebDav Server started on http://127.0.0.1:8080/
2021/01/25 12:51:22 INFO  : /: PROPFIND from 127.0.0.1:56342
2021/01/25 12:51:45 INFO  : /: PROPFIND from 127.0.0.1:56510
2021/01/25 12:55:10 INFO  : /: PROPFIND from 127.0.0.1:57928
2021/01/25 12:55:14 INFO  : /: PROPFIND from 127.0.0.1:57946

Thoughts?

Am I missing something? I guess this is technically doing what it says it'll do; only supporting mod time and hashes with OwnCloud and NextCloud. But issue 3147 makes it seem like this should be supported.

Thanks!

I reopened the issue - that never got done!

Rclone serve sftp does support hashes and mistimed as does the sftp backend.

Thanks. sftp is my planned rclone <--> rclone mechanism but I fear the days that my work does not block port 22 (in additional to just about every other port) are limited so I am exploring my options via WebDAV.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.