Warn before copying when trying to move.

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
avada
Senior Member
Senior Member
Posts: 217
Joined: 2007-10-05, 06:24 UTC

Warn before copying when trying to move.

Post by *avada »

This is actually an old thing, but since drastic changes are made...

When moving a file that's locked by another process. TC starts copying it first and only warns about it after the files are copied. Even if you cancel or skip the copied file will remain. So you'll end up having two files even though you only wanted to move one. You have to delete one of them manually.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is that TC cannot always determine why MoveFile fails - it could also be because the source and target are on different partitions. Then TC has to copy then delete.
Author of Total Commander
https://www.ghisler.com
avada
Senior Member
Senior Member
Posts: 217
Joined: 2007-10-05, 06:24 UTC

Post by *avada »

ghisler(Author) wrote:The problem is that TC cannot always determine why MoveFile fails - it could also be because the source and target are on different partitions. Then TC has to copy then delete.
I understand that. But it could check if the file is locked (and if not lock it itself) and prompt the user before it starts to copy.
And if the move/deletion still fails after that for whatever reason, then it fails.

It would be advantageous even when the it's moved to a different partition. The user might have the old copy remaining unexpectedly on the old location.
Post Reply