Turn Off Delete on Drag and Drop

Advertisement

PencilBoy99
Joined:
Posts:
2

Turn Off Delete on Drag and Drop

Using Latest Version, vs Unix

When I drag and drop from WinSCP remote folder to local directory, it copies the file to the local directory but then deletes the remote file. How do I turn this behavior off (so that drag just copies)?

Reply with quote

Advertisement

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

Re: Turn Off Delete on Drag and Drop

Please read documentation:
<invalid hyperlink removed by admin>

If that does not help, come back.

Reply with quote

ADTC
Joined:
Posts:
18

The documentation says:

Note that WinSCP actually disables “move” by default, so you have probably enabled it before.
The Allow moving from remote directory to other applications checkbox is by default disabled allowing you to only copy files using drag&drop.

Despite this, dragging a file from the remote panel into a Windows Explorer window (not the local panel) will MOVE the file from the server. It is a new WinSCP installation; all settings are on default. The mouse cursor even shows the + sign, suggesting it will be a copy. But still, the actual operation was a move.

The fix for this problem was to change from "Use shell extension" to "Use temporary folder" (leaving the "Allow moving from remote directory to other applications" checkbox still disabled).

After doing that, the drag would only copy the file, it no longer "moves" by having WinSCP delete the file on server.

P.S.: Is it not possible for WinSCP to simply ignore whatever Windows Explorer tells it and just leave the server file alone after copying it out (even when using shell extension)? The explanations given suggest that WinSCP will always be a slave to Explorer's commands and do what Explorer tells it to do - but WinSCP is a standalone program - it can make its own decisions. So I don't get that rationale.

Reply with quote

martin
Site Admin
martin avatar

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Turn Off Delete on Drag and Drop

Since 5.14, it is always possible to use drag&drop to move remote files to external applications, while copy is always the default operation.

Reply with quote

Advertisement

You can post new topics in this forum