You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make rclone more robust to false-negatives with local copies and --size-only #6206
(theoretical I think but...) if doing a copy from a remote to local with multiple streams and --size-only (either explicit or implied by the remote, e.g., WebDAV), it is conceivable for an interrupted transfer to not get restarted since it's "size" is correct even if the content is not
How do you think rclone should be changed to solve that?
Either add an extra null byte that gets truncated or withhold the very last byte until the rest of the transfer is complete. This way, the size of the file always mismatches until completed
How to use GitHub
Please use the 👍 reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
This is a good idea. Rclone backends don't currently have a truncate method so withholding the last byte until all the the multipart streams have finished would probably be easiest.
Activity
ncw commentedon May 31, 2022
This is a good idea. Rclone backends don't currently have a truncate method so withholding the last byte until all the the multipart streams have finished would probably be easiest.
operations: fix possible unintended --size-only skip with multithread…
ncw commentedon Jun 23, 2023
In 5c594fe we implemented transfers to a temporary file name on the local, ftp and sftp backends unless the
--inplaceflag is not used.I think this effectively fixes this issue so I will close it now.