Differences

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

2023-10-27 2023-10-27 (current)
no summary (83.111.180.100) (hidden) (untrusted) recommend logging (martin)
Line 56: Line 56:
  * The [[ui_generateurl#script|Generate transfer code]] dialog will appear with the generated script or code template.   * The [[ui_generateurl#script|Generate transfer code]] dialog will appear with the generated script or code template.
-/log=D:\test\winscp.log +===== [[using]] Using script ===== 
-Option Echo off +Now to make using script easier/automatic you can: 
-option batch on +··* Make shortcut to it on desktop to ease execution. Either make shortcut to batch file (''.bat'') or enter full command line to shortcut itself.((Note that it is not possible to use ''winscp.com'' (''.com'' files in general) directly from a shortcut. Call ''winscp.com'' from a batch file or use ''winscp.exe'' with ''[[commandline#scripting|/console]]'' command-line parameter.)) 
-option confirm off +  * If the wrapping batch file takes filename as command line parameter (see [[#parametrized|below]]) you can: 
-open SFTP://SASNB:Welcome123476*@sftypprd1 +····* Make shortcut to it on desktop and use it by dropping files on the icon. Windows automatically run the batch file and passes path to dropped file as command-line parameter. 
-#Change LOCAL directory lcd "L:\SNBUAESwift\pull\&quot+    * In a similar way you can put the shortcut to the batch file into Explorer’s ‘Send To’ context menu (''C:\Users\username\AppData\Roaming\Microsoft\Windows\SendTo'' in Windows Vista and newer). &winpath &winvista 
-lcd  "L:\SNBUAESwift\pull\" + * [[guide_schedule|Schedule automatic execution]].
- +
-#copy an individual file  +
- +
-put -nopermissions -nopreservetime "L:\SNBUAESwift\pull\.*rje" +
===== Notes ===== ===== Notes =====

Last modified: by martin