Copy instead of preferred drop effect

Advertisement

nleontiev
Joined:
Posts:
4
Location:
Russia

Copy instead of preferred drop effect

WinSCP (6.5.3 Build 16364) performs copy operation instead of move when pasting from clipboard which contains Preferred DropEffect move (2).
Clipboard contents:
==================================================
Format ID         : 15
Format Name       : CF_HDROP
Handle Type       : Memory
Size              : 46
Index             : 1
==================================================
14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
01 00 00 00 43 00 3A 00 5C 00 74 00 65 00 73 00
74 00 2E 00 74 00 78 00 74 00 00 00 00 00
==================================================
Format ID         : 49349
Format Name       : Preferred DropEffect
Handle Type       : Memory
Size              : 4
Index             : 2
==================================================
02 00 00 00
HDROP item: C:\test.txt
SHFileOperation call with wFunc=2 (FO_COPY):
#   Time of Day   Thread   Module   API   Return Value
6   7:46:33.421 AM   1   WinSCP.exe   SHFileOperationW ( 0x00733a30 )   0
#   Type   Name   Pre-Call Value   Post-Call Value
1   LPSHFILEOPSTRUCT   lpFileOp   0x00733a30   0x00733a30
   SHFILEOPSTRUCT      { hwnd = 0x001b0a76, wFunc = 2, pFrom = 0x06c40d8c  ...}   { hwnd = 0x001b0a76, wFunc = 2, pFrom = 0x06c40d8c  ...}
   HWND   hwnd   0x001b0a76   0x001b0a76
   UINT   wFunc   2   2
   LPCTSTR   pFrom   0x06c40d8c "C:\test.txt"   0x06c40d8c "C:\test.txt"
   LPCTSTR   pTo   0x04fc83cc "D:\"   0x04fc83cc "D:\"
   FILEOP_FLAGS   fFlags   592   592
   BOOL   fAnyOperationsAborted   0   0
   LPVOID   hNameMappings   0x00000000   0x00000000
   LPCTSTR   lpszProgressTitle   0x00000000   0x00000000
   int   Return      0

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,347
Location:
Prague, Czechia

Re: Copy instead of preferred drop effect

Is this about local or remote files?
WinSCP does not support "cutting" remote files. Hence it ignores "preferred drop effect" as it supports "copying" only anyway.

Reply with quote

Advertisement

You can post new topics in this forum