rclone-dev:fix-4293-vfs-write

Last commit made on 2020-07-22
Get this branch:
git clone -b fix-4293-vfs-write https://git.launchpad.net/rclone-dev

Branch merges

Branch information

Name:
fix-4293-vfs-write
Repository:
lp:rclone-dev

Recent commits

8f36afa... by Nick Craig-Wood

vfs: check destination on rename and delete if it exists first FIXME needs tests

Some backends (eg onedrive) will throw an error if we rename over an
existing file and some (drive) will create a duplicate.

This patch checks to see if the destination exists and removes it or
returns an error as appropriate.

Fixes #4293

6277b8b... by Nick Craig-Wood

vfs: fix saving from chrome without --vfs-cache-mode writes - fixes #4293

Due to Chrome's rather complicated use of file handles when saving
files from the download windows, rclone was attempting to truncate a
closed file.

The file appeared closed due to the handling of 0 length files.

This patch removes the check for the file being closed in the
WriteFileHandle.Truncate call. This is safe because the only action
this method takes is to emit an error message if the file is the wrong
size.

See: https://forum.rclone.org/t/google-drive-cannot-save-files-directly-from-browser-to-gdrive-mounted-path/17992/

ff84351... by Nick Craig-Wood

operations: factor Check and related functions into its own files

8b6f2bb... by Nick Craig-Wood

check,cryptcheck: add reporting of filenames for same/missing/changed #3264

See: https://forum.rclone.org/t/rclone-check-v-doesnt-show-once-per-minute-update-counts/17402

d2efb4b... by Nick Craig-Wood

ftp: add support for --dump bodies and --dump auth

See: https://forum.rclone.org/t/rclone-copy-gives-error-connection-reset-by-peer-using-ftp/17934/27

db56b1b... by Nick Craig-Wood

serve/ftp: use refactored goftp.io/server library for binary shrink

This uses the refactored goftp library which doesn't include the minio
driver. This reduces the binary size by 1.5MB

See: https://gitea.com/goftp/server/pulls/120

990a33b... by Nick Craig-Wood

build: go mod tidy

664c658... by Nick Craig-Wood

ftp: Update github.com/jlaffaye/ftp to fix interop with pure-ftpd

See: https://github.com/jlaffaye/ftp/pull/190

d1617ce... by Nick Craig-Wood

Stop doing vendoring - fixes #4032

2b50d44... by Nick Craig-Wood

Remove vendor directory #4032