Skip to content

Commit 976f3d9

Browse files
committed
Prevent partial uploads
The new version of rclone defaults of partial uploads that get renamed. Since we do not support renaming we want to prevent this behavoir. See: rclone/rclone#3770 Signed-off-by: Fon E. Noel NFEBE <[email protected]>
1 parent c67e64c commit 976f3d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils.py

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def rclone_upload(fname, remote_dir, timeout: int = TIMEOUT):
7272
"-vv",
7373
"--size-only", # server doesn't do mtime
7474
"--sftp-set-modtime=false", # server doesn't do mtime
75+
"--inplace",
7576
fname,
7677
f"{RCLONE_REMOTE}:{ARCHIVE_PATH}{remote_dir}",
7778
]

0 commit comments

Comments
 (0)