Topic "Turn Off Delete on Drag and Drop"

Author Message
PencilBoy99
[View user's profile]

Joined: 2015-04-27
Posts: 2
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)?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please read documentation:
https://winscp.net/eng/docs/faq_drag_move

If that does not help, come back.
ADTC
[View user's profile]

Joined: 2013-10-07
Posts: 18
The documentation says:

Quote:
Note that WinSCP actually disables “move” by default, so you have probably enabled it before.

Quote:
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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.
_________________
Martin Prikryl
ADTC
[View user's profile]

Joined: 2013-10-07
Posts: 18
I have emailed the trace log to you. If you want me to attach here, please let me know.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
This issue has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1414
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License