{resolved} File Copy behaviour 1.52/2.5

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
Anteaus
Posts: 10
Joined: 08 May 2007, 10:11

{resolved} File Copy behaviour 1.52/2.5

Post by Anteaus »

I mostly use 1.52 for file management. I have a registered 2.5 version, but from habit and familiarity I still mostly use 1.52. Recently I hit a difference in the behaviour of v2.5 which has the potential to cause data loss, hence thought I'd mention it here.

In 1.52, if you merge two folder-structures using select then drag-to-copy, a file-overwrite situation presents you with the options "Yes(Over-write it), Skip(Don't Overwrite), Skip All or Cancel." The actions in each case are self-explanatory, and in principle match those of XCOPY's overwrite or don't overwrite switches.

The result with 1.52 is what you would intuitively expect, that you are left with a complete set of merged data, but with any pre-existing files in the destination left untouched.

In v2.5 an identical dialog is presented, but the logic is totally changed, with the action of the 'Skip' or 'Skip All' options equating more closely to 'Abort' or 'Abort All' rather than Skip. What happens here is that in any circumstance where a folder-tree contains one or more pre-existent items (even empty folders or null files) then the copying of that entire folder-tree aborts, leaving the target with missing data.

This has important implications for restoring backups using v2.5, where the presence of even an empty folder in the restore-target will break the restore if 'Skip existing files' is chosen.

It also means that all using the 'Skip All' option to resume an incomplete or paused copying copying operation (as was normal practice in 1.52) will leave you with a broken copy of the data.
Last edited by Anteaus on 09 Feb 2008, 00:12, edited 1 time in total.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1112
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Post by Petr Solin »

I'm not sure if I understand you well, but if yes, I recommend you to turn off the Directories merge confirmation in Configuration on Confirmations page. Then the behaviour of 2.5 will be the same as in 1.52.

If you left the Directories merge confirmation checked, then Salamander will ask you before any merge of source and target directories and if you answer Skip, then it will skip this merge (it will skip the whole directory which should be merged).

If I misunderstand you, please give me some simple example. I have tested merging of two directories and it works as expected (as you have described for version 1.52).
Anteaus
Posts: 10
Joined: 08 May 2007, 10:11

Post by Anteaus »

Petr Solin wrote:I'm not sure if I understand you well, but if yes, I recommend you to turn off the Directories merge confirmation in Configuration on Confirmations page. Then the behaviour of 2.5 will be the same as in 1.52.
Apologies, I had overlooked the difference in dialog title.

No bug, my mistake. :oops:
Post Reply