Differences

This shows you the differences between the selected revisions of the page.

ui_pref_dragdrop 2018-11-07 ui_pref_dragdrop 2022-09-13 (current)
Line 1: Line 1:
-====== Drag&Drop Page (Preferences Dialog) ======+====== The Drag&Drop Page (Preferences Dialog) ======
The //Drag&Drop page// on the [[ui_preferences|Preferences dialog]] allows you to configure behavior of WinSCP when transferring files using drag&drop to other applications. It does not affect drag&drop within WinSCP (for example between local and remote panels of [[ui_commander|Commander interface]]). The //Drag&Drop page// on the [[ui_preferences|Preferences dialog]] allows you to configure behavior of WinSCP when transferring files using drag&drop to other applications. It does not affect drag&drop within WinSCP (for example between local and remote panels of [[ui_commander|Commander interface]]).
Line 6: Line 6:
&toc_title_page_sections &toc_title_page_sections
-===== [[moving]] Moving to Other Applications ===== +===== [[fake_file]] Shell Extension/Fake File mode ===== 
-The //Allow moving from remote directory to other applications// checkbox is removed in the //latest beta version//. //In the latest beta version//, moving to other applications is always enabled. &beta+Use //Determine drop target by dragging a fake file// button to make WinSCP determine drop target by dragging a fake file.((Actually a folder.)) This method allows direct transfers to a target folder. With this method, it is also possible to [[transfer_queue|transfer files on background]].
-The //Allow moving from remote directory to other applications// checkbox is by default disabled allowing you to only copy files using drag&drop. The reason behind this is that users expect the "copy" to be default drag&drop operation (the one performed what you do not hold any of ''Ctrl/Shift'' modifiers). Unfortunately it is always the target application (Windows Explorer usually), that selects the default drag&drop operation. The only thing that WinSCP can do to force "copy" be the default is disable "move" operations all together. This would force Windows Explorer to use "copy", because there wouldn’t be another option.+When [[dragext|drag&drop shell extension]] is [[dragext#installation|installed and loaded]], this method does allow dragging files to any drive (local or network). The files can be dropped to Windows File Explorer only (including desktop).
-Another reason to keep the option disabled is that, particularly with [[#temporary|Temporary folder mode]], there's a risk of losing your files, when moving files from temporary folder to their destination fails. +When drag&drop shell extension is not installed -- e.g. when using [[portable|portable executables]] or when [[microsoft_store|installed from Microsoft Store]] -- this method does not allow dropping files to unmapped network drives. In this case, you can enable dropping files by specifying UNC paths to selected network drives in the //==Allow== dropping files to these network drives// box. Enter each path on separate line.
- +
-===== [[dragext_mode]] Shell Extension/Fake File mode ===== +
-Use //Determine drop target by dragging a fake file// button to make WinSCP determine drop target by dragging a fake file.((Actually a folder.)) +
- +
-On Windows 10 (since version 1803) or when [[microsoft_store|installed from Microsoft Store]], this method does not allow dropping files to unmapped network drives and floppy drives. +
- +
-On older systems, WinSCP will use [[dragext|Drag&drop Shell Extension]], if it is [[dragext#installation|installed and loaded]].+
 +When you have problems with starting file dragging because WinSCP hangs, when trying to start monitoring a particular drive (typically a mapped network drive), you can ==exclude== it from monitoring. Add ''-X'' line to the //Allow dropping files to these network drives// box. That is a dash/minus sign, followed by the drive letter.
===== [[temporary]] Temporary Folder mode ===== ===== [[temporary]] Temporary Folder mode =====
-Use //Download files via temporary folder// to select [[temp_folders|temporary folder]] download mode, if you cannot use the [[dragext|Drag&drop Shell Extension]] or you need to overcome its [[dragext#drawbacks|limitations]]. You cannot use [[transfer_queue|background transfers]] in temporary folder download mode.+Use //Download files via temporary folder// to select [[temp_folders|temporary folder]] download mode, if you need to overcome limitations of the first mode. You cannot use [[transfer_queue|background transfers]] in temporary folder download mode. A drawback of this mode is that the files need to be downloaded to temporary directory first, from where they are copied to the target folder.
You can change the location for temporary folder on //[[ui_pref_storage#temporary_directory|Storage page]]//. You can change the location for temporary folder on //[[ui_pref_storage#temporary_directory|Storage page]]//.
The //Warn where there is not enough free space// makes WinSCP try to guess if the files to be downloaded fits into the [[temp_folders|temporary directory]]. The //Warn where there is not enough free space// makes WinSCP try to guess if the files to be downloaded fits into the [[temp_folders|temporary directory]].
- 
-The //Warn when moving via temporary directory// is enabled only when //Allow moving from remote directory to other applications// is checked. It makes WinSCP warn you that moving files from remote directory to local one via [[temp_folders|temporary folder]] is dangerous. WinSCP loses control of the download once it finishes transfer of the files to the temporary directory. Thus this is its last chance to remove the files from remote directory. If the target application (Windows Explorer) fails to deliver the files from temporary folder to target folder, you may lose your files. The checkbox is removed in the //latest beta version//. &beta 
===== Further Reading ===== ===== Further Reading =====
Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]]. Read more about [[ui_preferences|Preferences dialog]] and its other [[ui_preferences#pages|pages]].

Last modified: by martin