rclone/backend
Nick Craig-Wood 0bcf4769fe local: make --local-no-updated provide a consistent view of the objects
Before this change the --local-no-updated flag would not error if the
files changed in size during the transfer. The file could still be
read beyond the size advertised though which caused problems with
certain backends.

After this change we attempt to provide a consistent view of the file
once it has been opened.

Once the file has had stat() called on it for the first time we

- Only transfer the size that stat gave
- Only checksum the size that stat gave
- Don't update the stat info for the file

This means that files that are extending can be transferred - rclone
will transfer the length it saw the first time it listed the file.

See: https://forum.rclone.org/t/transport-connection-broken/16494/21
2020-06-27 10:00:43 +01:00
..
alias build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all Tardigrade Backend 2020-05-12 15:56:50 +00:00
amazonclouddrive dircache: simplify interface, fix corner cases and apply to backends 2020-06-25 09:41:36 +01:00
azureblob doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
b2 b2: cancel in progress multipart uploads and copies on rclone exit #4300 2020-06-25 15:22:53 +01:00
box box: cancel in progress multipart uploads and copies on rclone exit #4300 2020-06-25 15:22:53 +01:00
cache test: Don't run unreliable tests on CI #4171 2020-06-15 21:34:37 +01:00
chunker chunker: reduce length of temporary suffix 2019-12-09 16:56:32 +00:00
crypt link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
drive drive: Allow the use of --drive-impersonate with the root_folder_id "appDataFolder" 2020-06-25 21:43:11 +01:00
dropbox dropbox: fix public link by removing expires parameter 2020-06-18 18:40:33 +01:00
fichier dircache: simplify interface, fix corner cases and apply to backends 2020-06-25 09:41:36 +01:00
ftp ftp: add explicit tls support 2020-06-16 09:13:50 +01:00
googlecloudstorage backends: make sure backends expand ~ and environment vars in file names they use 2020-06-03 17:39:08 +01:00
googlephotos build: run gofmt -s to simplify the code: suggested by Go Report Card 2020-06-18 18:45:39 +01:00
http fstest: create AssertTimeEqualWithPrecision from CheckTimeEqualWithPrecision 2020-04-22 11:33:00 +01:00
hubic oauthutil: tidy interface to Config to add Options struct 2020-05-26 11:27:01 +01:00
jottacloud jottacloud: remove debug Printf accidentally left in 2020-06-23 13:16:23 +02:00
koofr link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
local local: make --local-no-updated provide a consistent view of the objects 2020-06-27 10:00:43 +01:00
mailru link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
mega link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
memory The memory backend 2020-01-18 10:41:08 +00:00
onedrive onedrive: rework cancel of multipart uploads on rclone exit #4300 2020-06-25 15:22:53 +01:00
opendrive dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
pcloud dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
premiumizeme dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
putio dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
qingstor qingstor: cancel in progress multipart uploads on rclone exit #4300 2020-06-25 15:22:53 +01:00
s3 s3: Use regional s3 us-east-1 endpoint 2020-06-26 16:25:52 +01:00
seafile link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00
sftp sftp: Fix SSH key PEM loading 2020-06-12 22:46:33 +01:00
sharefile dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
sugarsync dircache: factor DirMove code out of backends into dircache 2020-06-25 09:41:36 +01:00
swift swift: speed up deletes by not retrying segment container deletes 2020-06-24 10:01:24 +01:00
tardigrade backend/tardigrade: Set UserAgent to rclone 2020-06-09 14:20:28 +01:00
union doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
webdav webdav: Fix free/used display for rclone about/df for certain backends - fixes #4348 2020-06-20 15:15:15 +01:00
yandex link: Add --expire and --unlink flags 2020-06-05 14:51:05 +01:00