After a rename, the original file should be deleted.

This commit is contained in:
Carl Johnsen
2025-01-27 08:35:48 +01:00
parent 54736ff449
commit 4e5282ccfd
+2 -1
View File
@@ -1,4 +1,4 @@
// Copyright (C) 2025, The Duplicati Team
// Copyright (C) 2025, The Duplicati Team
// https://duplicati.com, hello@duplicati.com
//
// Permission is hereby granted, free of charge, to any person obtaining a
@@ -181,6 +181,7 @@ namespace RemoteSynchronization
{
await b.GetAsync(f.Name, downloaded, CancellationToken.None);
await b.PutAsync($"{f.Name}.{suffix}", downloaded, CancellationToken.None);
await b.DeleteAsync(f.Name, CancellationToken.None);
downloaded.SetLength(0);
successful_renames++;
}