Webdav sync does not work if size is the same but modtime is different

What is the problem you are having with rclone?

When syncing two webdavs, files with the same size but different modtime does not get sync/

What is your rclone version (output from rclone version)

v1.55.1

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

Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux

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

Webdavs, based on golang webdav .

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

rclone sync --dry-run -vv files:Isaac backups:remote-backups/data/Isaac

The rclone config contents with secrets removed.

[files]
type = webdav
url = https://files.***.fr
vendor = other
user = ***
pass = ***

[backups]
type = webdav
url = https://backups.***.fr
vendor = other
user = ***
pass = ***

A log from the command with the -vv flag

rclone lsl files:Isaac

gives

 16777216 2021-05-17 15:38:09.000000000 Pokemon - Version Emeraude (France).gba
   572016 2021-06-02 17:11:10.000000000 Pokemon - Version Emeraude (France).sav

and

rclone lsl backups:remote-backups/data/Isaac

gives

 16777216 2021-05-18 03:05:43.000000000 Pokemon - Version Emeraude (France).gba
   572016 2021-05-18 03:05:42.000000000 Pokemon - Version Emeraude (France).sav

but

rclone sync --dry-run -vv files:Isaac backups:remote-backups/data/Isaac

gives

2021/06/03 12:06:47 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2021/06/03 12:06:47 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "sync" "--dry-run" "-vv" "files:Isaac" "backups:remote-backups/data/Isaac"]
2021/06/03 12:06:47 DEBUG : Creating backend with remote "files:Isaac"
2021/06/03 12:06:47 DEBUG : Creating backend with remote "backups:remote-backups/data/Isaac"
2021/06/03 12:06:47 DEBUG : Pokemon - Version Emeraude (France).gba: Sizes identical
2021/06/03 12:06:47 DEBUG : Pokemon - Version Emeraude (France).gba: Unchanged skipping
2021/06/03 12:06:47 DEBUG : Pokemon - Version Emeraude (France).sav: Sizes identical
2021/06/03 12:06:47 DEBUG : Pokemon - Version Emeraude (France).sav: Unchanged skipping
2021/06/03 12:06:47 DEBUG : webdav root 'remote-backups/data/Isaac': Waiting for checks to finish
2021/06/03 12:06:47 DEBUG : webdav root 'remote-backups/data/Isaac': Waiting for transfers to finish
2021/06/03 12:06:47 DEBUG : Waiting for deletions to finish
2021/06/03 12:06:47 INFO  : There was nothing to transfer
2021/06/03 12:06:47 NOTICE: 
Transferred:             0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                2 / 2, 100%
Elapsed time:         0.4s

Besides, this post could be related :

https://forum.rclone.org/t/ftp-sync-error-when-file-size-unchanged/18172

From the documentation rclone.org/webdav:

Plain WebDAV does not support modified times. However when used with Owncloud or Nextcloud rclone will support modified times.

This stems from the webdav standard itself, not rclone.

Ok, that explains the issue. Thanks for your insight.

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