rclone/cmd/serve/sftp
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
..
connection_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
connection.go serve sftp: fix hash calculations with --vfs-cache-mode full 2023-08-22 13:18:36 +01:00
handler.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
server.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
sftp_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp.go docs: group the global flags and make them appear on command and flags pages 2023-08-02 12:53:09 +01:00