Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

FooBar

Ok – upvoted!
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.
martin

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.
FooBar

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...
martin

@FooBar: I mean the checkbox on the duplicate dialog:
https://winscp.net/eng/docs/ui_duplicate

Though maybe I've misunderstood the question. Are you moving or copying/duplicating? As it happens recently, maybe you are able to reproduce it? Are you? Can you record a screencast of the problem?
FooBar

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.
martin

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

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.
martin

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?
FooBar

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