What is the problem you are having with rclone?
I am a game mod developer and I am currently using rclone to synchronize files between different player to as a way to deploy updates to my peers.
However I only recently noticed that currently plain WebDav does not support mod time and checksum checks, which are quite important for me since I usually deploy minimal game file updates with no change in file sizes. I know that this is well documented, but may I ask is it possible to workaround the limitation?
I've noticed that on Teracloud if I asks for the file's information using HEAD request, I can get the mod-time of the file. May I ask is it possible to incorporate this into the WebDav standard like how Owncloud or Nextcloud supports checksums?
Or are there any other more creative workarounds that I can use to achieve my goals?
Thank you for your time.
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.2
- os/version: Microsoft Windows 11 Pro 22H2 (64 bit)
- os/kernel: 10.0.22621.3155 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.21.6
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
I am currently using plain WebDav from Teracloud. If possible I would like to refrain from changing this.
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone check "teracloud-master:/game_files/patches" "I:/game_files/patches"
2024/03/07 23:53:33 ERROR : No common hash found - not using a hash for checks
2024/03/07 23:53:33 NOTICE: Local file system at //?/I:/game_files/patches: 0 differences found
2024/03/07 23:53:33 NOTICE: Local file system at //?/I:/game_files/patches: 2 hashes could not be checked
2024/03/07 23:53:33 NOTICE: Local file system at //?/I:/game_files/patches: 2 matching files
I have two files to sync, one has the file contents changed (without any size changes)
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[teracloud-master]
url = https://wani.teracloud.jp/dav/xxx/
headers = Cookie,"tcs_ticket=xxxxxxx;Version=1;Path=/ds/dav/;Max-Age=3600;Secure"
type = webdav
vendor = other
user = XXX
pass = XXX
### Double check the config for sensitive info before posting publicly
A log from the command that you were trying to run with the -vv
flag
2024/03/08 08:12:48 DEBUG : rclone: Version "v1.65.2" starting with parameters ["rclone" "check" "teracloud-master:/game_files/patches" "I:\\game_files_patches" "-vv"]
2024/03/08 08:12:48 DEBUG : Creating backend with remote "teracloud-master:/game_files/patches"
2024/03/08 08:12:48 DEBUG : Using config file from "C:\\Users\\descatal\\AppData\\Roaming\\rclone\\rclone.conf"
2024/03/08 08:12:48 DEBUG : found headers: Cookie,tcs_ticket=xxxxxxxx;Version=1;Path=/ds/dav/;Max-Age=3600;Secure
2024/03/08 08:12:48 DEBUG : fs cache: renaming cache item "teracloud-master:/game_files/patches" to be canonical "teracloud-master:game_files/patches"
2024/03/08 08:12:48 DEBUG : Creating backend with remote "I:\\game_files_patches"
2024/03/08 08:12:48 DEBUG : fs cache: renaming cache item "I:\\game_files_patches" to be canonical "//?/I:/game_files/patches"
2024/03/08 08:12:48 ERROR : No common hash found - not using a hash for checks
2024/03/08 08:12:48 DEBUG : Local file system at //?/I:/game_files/patches: Waiting for checks to finish
2024/03/08 08:12:48 DEBUG : PATCH_backup.json: OK - could not check hash
2024/03/08 08:12:48 DEBUG : PATCH.TBL: OK - could not check hash
2024/03/08 08:12:48 NOTICE: Local file system at //?/I:/game_files/patches: 0 differences found
2024/03/08 08:12:48 NOTICE: Local file system at //?/I:/game_files/patches: 2 hashes could not be checked
2024/03/08 08:12:49 NOTICE: Local file system at //?/I:/game_files/patches: 2 matching files
2024/03/08 08:12:49 INFO :
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Checks: 2 / 2, 100%
Elapsed time: 1.0s
2024/03/08 08:12:52 DEBUG : 31 go routines active