rclone/cmd/serve
Nick Craig-Wood 7fc573db27 serve sftp: fix hash calculations with --vfs-cache-mode full
Before this change uploading files with rclone to:

    rclone serve sftp --vfs-cache-mode full

Would return the error:

    command "md5sum XXX" failed with error: unexpected non file

This patch detects that the file is still in the VFS cache and reads
the MD5SUM from there rather from the remote.

Fixes #7241
2023-08-22 13:18:36 +01:00
..
dlna docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
docker docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
ftp docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
http docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
proxy docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
restic docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
servetest build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp serve sftp: fix hash calculations with --vfs-cache-mode full 2023-08-22 13:18:36 +01:00
webdav docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00
serve.go docs: add minimum versions to the command pages 2022-12-03 18:58:55 +01:00