Differences

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

task_upload 2018-10-18 task_upload 2024-05-14 (current)
Line 2: Line 2:
//This article contains detailed description of uploading files. You may want to see [[guide_upload|simplified guide]] to the process instead.// //This article contains detailed description of uploading files. You may want to see [[guide_upload|simplified guide]] to the process instead.//
-The simplest way to upload files is to drag them from local panel or Windows Explorer to [[ui_file_panel|remote panel]] of WinSCP. See section [[#dragdrop|Using Drag&drop (Mouse)]].+The simplest way to upload files is to drag them from local panel or Windows File Explorer to [[ui_file_panel|remote panel]] of WinSCP. See section [[#dragdrop|Using Drag&drop (Mouse)]].
For alternative ways, advanced options and automation see further sections. For alternative ways, advanced options and automation see further sections.
===== [[dragdrop]] Using Drag&drop (Mouse) ===== ===== [[dragdrop]] Using Drag&drop (Mouse) =====
-First [[ui_file_panel#selecting_files|select the local files or directories]] you want to upload. You can select the files in the Windows Explorer or other application. If you are using [[ui_commander|Commander interface]], you can also select the files in its [[ui_file_panel|local panel]].+First [[ui_file_panel#selecting_files|select the local files or directories]] you want to upload. You can select the files in the Windows File Explorer or other application. If you are using [[ui_commander|Commander interface]], you can also select the files in its [[ui_file_panel|local panel]].
-Then drag your selection and drop it on the [[ui_file_panel|remote panel]]. If you drop the files on empty place on file list, the files will be uploaded to current remote directory((In [[ui_commander|Commander interface]] you may consider turning off //[[ui_pref_commander#panels|Full row select]]// option to be able to drop files everywhere except directory files names to upload them to current remote directory)). If you drop the files on remote directory icon (either in the file list or directory tree), the files will be uploaded to that directory.+Then drag your selection and drop it on the [[ui_file_panel|remote panel]]. If you drop the files on empty place on file list, the files will be uploaded to current remote directory.((In [[ui_commander|Commander interface]] you may consider turning off //[[ui_pref_commander#panels|Full row select]]// option to be able to drop files everywhere except directory files names to upload them to current remote directory.)) If you drop the files on remote directory icon (either in the file list or directory tree), the files will be uploaded to that directory.
&screenshotpict(upload_dragdrop) &screenshotpict(upload_dragdrop)
Line 29: Line 29:
===== [[copy_paste]] Using Copy&paste ===== ===== [[copy_paste]] Using Copy&paste =====
-If you prefer the [[ui_explorer|Explorer interface]], but still want to control it using keyboard, you need to use copy&paste method.+If you prefer the [[ui_explorer|Explorer interface]], but still want to control it using keyboard, you need to use [[clipboard|copy&paste method]].
-First select the files you want to upload in Windows Explorer or other application and copy them to clipboard.+First select the files you want to upload in Windows File Explorer or other application and copy them to clipboard.
-Then switch to WinSCP and use command //File(s) > Paste// (or ''Ctrl+V''). +Then switch to WinSCP and use command //Files > Paste// (or ''Ctrl+V'').
Before the upload actually starts, the [[ui_copy|transfer options dialog]] will show. There you will have a chance to change the transfer options or the target directory. The target directory is by default the current remote directory. You can disable the dialog in [[ui_pref_environment|preferences]]. Before the upload actually starts, the [[ui_copy|transfer options dialog]] will show. There you will have a chance to change the transfer options or the target directory. The target directory is by default the current remote directory. You can disable the dialog in [[ui_pref_environment|preferences]].
-Note that if clipboard contains plain text string only (no file data), the function //File(s) > Paste// [[task_navigate#paste|opens the path stored in clipboard]] instead of pasting files.+===== Using Windows File Explorer's 'Send To' Context Menu =====
-===== Using Windows Explorer's 'Send To' Context Menu ===== +Learn how to [[integration#send_to|integrate WinSCP into Windows File Explorer's 'Send To' menu]].
- +
-Learn how to [[integration#send_to|integrate WinSCP into Windows Explorer's 'Send To' menu]].+
===== Dropping Files on WinSCP Icon ===== ===== Dropping Files on WinSCP Icon =====
Line 49: Line 47:
===== [[drop_tab]] Dropping Files on Session Tab ===== ===== [[drop_tab]] Dropping Files on Session Tab =====
-To upload files using different session than active one, you can drop the local files to any [[ui_sessiontabs|session tab]].+To upload files using different session than active one, you can drop the local files to any [[ui_tabs|session tab]].
===== File Upload on Background ===== ===== File Upload on Background =====
Line 57: Line 55:
You can set up [[ui_login_recycle_bin|remote recycle bin]] to backup files that you overwrite during upload. You can set up [[ui_login_recycle_bin|remote recycle bin]] to backup files that you overwrite during upload.
-===== Automating Upload =====+===== Automating Uploads =====
To automate file upload use scripting command ''[[scriptcommand_put|put]]'' or .NET assembly method ''[[library_session_putfiles|Session.PutFiles]]''. To automate file upload use scripting command ''[[scriptcommand_put|put]]'' or .NET assembly method ''[[library_session_putfiles|Session.PutFiles]]''.
-===== [[unc]] Uploading Files From UNC Paths (Network shares) ===== 
-While WinSCP cannot browse UNC paths (network shares) in local [[ui_file_panel|panel]] of [[ui_commander|Commander interface]], it can upload files from there. You can [[#dragdrop|drag]] the files from Windows Explorer or another application, you can use %%UNC%% paths in [[scripting]], or use any other mean of uploading as described on this page. 
- 
-//The latest beta version of WinSCP can browse %%UNC%% paths.// &beta (* with stable, mark as &recent, and eventually remove whole section*) 

Last modified: by martin