Scenario:
- file in source folder named 'a'
- destination folder containing a child folder name 'a'
- folder 'a' containing file named 'a'
if i try to copy file in destination folder it try to copy in child folder named 'a' asking for overwrite.
This happens even if file and child folder has extension (a.txt)
Copy file bug
Moderators: Hacker, petermad, Stefan2, white
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Confirmed.
Copy should be denied due to existing folder "a".
Works correct if you try to create a file "a" at destination folder...
[Edit]In latter case it displays the correct error message.[/Edit]
Copy should be denied due to existing folder "a".
Works correct if you try to create a file "a" at destination folder...
[Edit]In latter case it displays the correct error message.[/Edit]
Last edited by sqa_wizard on 2007-06-19, 14:00 UTC, edited 1 time in total.
#5767 Personal license
Not really:roentgen wrote:No, it tries to 'overwrite' the subdirectory 'a' in the destination panel.
- when left path is d:\TEMP\ and
right path is d:\TEMP\2
with existing <DIR> d:\TEMP\2\a\
and the user wants to copy/move the file "a" from left to right with F5/F6 (which should fail because of the duplicte name),
TC tries to create/overwrite the file d:\TEMP\2\a\a instead of d:\TEMP\2\a.
I think this a problem in design, because TC automatically adds the file name in the F5/F6 dialog box: when copying d:\TEMP\a the suggested target name is d:\TEMP\2\a.sqa_wizard wrote:Copy should be denied due to existing folder "a".
If you wanted to copy a file into the subdir "a" in the target (target file name d:\TEMP\2\a\a), the syntax for target name would be the same (target d:\TEMP\2\a\ or just d:\TEMP\2\a).
Hm, here there's no error message at all (only the overwrite dialog) - or did I miss something?roentgen wrote:As always in TC better error messages wouldn't hurt.
The only way to avoid this behaviour is probably an additional "Are you shure?" of TC everytime you copy/move a file into a dir with the same name. Not very useful in everyday use, IMO.
Any better ideas?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!