open files are copied instead of moved

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
User avatar
GammelBert
Member
Member
Posts: 109
Joined: 2007-02-21, 18:42 UTC
Location: Germany

open files are copied instead of moved

Post by *GammelBert »

If you move a file to another folder on the same drive while it is opened (for example by a media player), TC copies the file. This is a good feature for moving files to other drives because it has to be physically copied anyway. But I don't see how this is useful on the same drive. It just puts unnecsessary load on the cpu und harddrive. For flash drives write operations are even harmful.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Not a bug. The file can't be deleted while it has open handles to it.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
GammelBert
Member
Member
Posts: 109
Joined: 2007-02-21, 18:42 UTC
Location: Germany

Post by *GammelBert »

I know. TC then should display the access denied dialog first instead of copying the file and showing it after. This way the user has the chance to close the file.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50512
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I prefer to copy the file and later try to delete the original.
Author of Total Commander
https://www.ghisler.com
User avatar
GammelBert
Member
Member
Posts: 109
Joined: 2007-02-21, 18:42 UTC
Location: Germany

Post by *GammelBert »

you could show the access denied dialog first and add a copy button to it for those users who prefer to keep the original file.
For me it is annoying that TC copies a 700MB movie file just because I forgot to close it. If I wanted to keep it, I would have used the copy operation and not the move operation.
abraham
Junior Member
Junior Member
Posts: 14
Joined: 2006-10-26, 00:28 UTC

Post by *abraham »

+1

I would also like to be alerted if a file can not be moved e.g. "3 files could not be moved because they were locked. 1. Retry? 2. Copy?"

With maybe an option to "Always copy locked files"
Post Reply