6.3 to 6.2 / Files and folders are removed from target dir when I drag&drop new files

Advertisement

FooBar
Joined:
Posts:
6
Location:
Germany

6.3 to 6.2 / Files and folders are removed from target dir when I drag&drop new files

Hey there,

very strange – I needed to downgrade from from latest 6.3 to all versions of 6.2 and in solved my problem only in 6.1.2 / I tried on several different servers – all the same. Let me explain it in short.

I have existing folders with sub-folders like this:
- root
- - A
- - - A-SUB-1
- - - A-SUB-2
- - - A-SUB-3
- - B
- - C
When I copy now from a other directory same structure over to that above then A empties itself after drag&drop the other folders with same names instead of just override the existing files.
- A
- - test.php
- B
- C
After drag&drop
- - - A-SUB-1
- - - A-SUB-2
- - - A-SUB-3
are gone! and I have only the test.php file inside. I used that many years to push my overrides back again after core-update of e.g. a CMS.

I tested the newer versions so it seemes to be a bug.

Can you check that?

Best Regards,
FooBar

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,541
Location:
Prague, Czechia

Re: 6.3 to 6.2 / Files and folders are removed from target dir when I drag&drop new files

Indeed, there have been some related changes.
But to give you a definitive answer, I need to know what exactly do you drag and where exactly do you drop it?
Do you drag the three selected A, B and C folders and do you drop them to empty space in remote panel with opened root folder?

Reply with quote

FooBar
Joined:
Posts:
6
Location:
Germany

Hello Martin,

thank you for you fast reply. I drag from "right remote dir" to "left remote tree" (both on same server).

I copy marked green folders with Strg/Cmd into blue one / after dropping then the red folders are emptied and contain only my override files from green – what is not the usual behaviour.

Check the attached image please.

34195_img_01.jpg

Reply with quote

martin
Site Admin
martin avatar

Ok, thanks. And what protocol? And is it direct duplication (if the server allows that)? Or via a temporary local copy?

Reply with quote

FooBar
Joined:
Posts:
6
Location:
Germany

Hello Martin,

I totally forgot to write but I also forgot this "thing" - I painfully needed to check it again a hour ago when I moved some folders and needed to restore them from backup.

Protocol: SFTP

I don´t understand the other both questions. I can only say that this happens also in latest versions.

Reply with quote

Advertisement

FooBar
Joined:
Posts:
6
Location:
Germany

I mark in the green folders and drag them in tree into that blue one.

Red folders have of course lot of folders inside. But once I drop greens into blue then red are complete empty and then there are only that folders left that are contained in green.

They get emptied. I can shere AynDesk with you and show you...

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,541
Location:
Prague, Czechia

You didn't answer my question about the checkbox.
Anyway, by default, when you do what you describe, the contents of the target folder indeed get overwritten. You should get very clear warning about that before, like this:
Directory '/.../administrator/components' already exists. Overwrite?
All files in the target directory will be deleted!

If you opt to duplicate via local temporary copy, the behaviour is somewhat different. One of the differences is that the files in the target folder won't be deleted.

Reply with quote

FooBar

I could reproduce it now – if "Duplicate via local temporary copy" is checked then files are not deleted...

But this is not a good way when I move / copy over 3000 files... in that directories -– that takes forever. What to do – like I reported many years it was not like that.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum