Differences
This shows you the differences between the selected revisions of the page.
| 2015-06-23 | 2015-12-21 | ||
| no summary (martin) | 5.8 Switch -latest for get and put commands to transfer the latest file only (martin) | ||
| Line 66: | Line 66: | ||
| ===== [[scripting]] Using WinSCP Scripting ===== | ===== [[scripting]] Using WinSCP Scripting ===== | ||
| + | ==== In the Beta Version ==== | ||
| + | &beta | ||
| + | |||
| + | Use the ''-latest'' switch of the ''[[scriptcommand_get|get]]'' command: | ||
| + | |||
| + | <code winscp> | ||
| + | get -latest /home/user/* c:\downloaded\ | ||
| + | </code> | ||
| + | |||
| + | ==== In the Stable Version ==== | ||
| + | |||
| You may use following [[guide_automation_advanced#wsh|Windows script host JScript code]] (''example.js''): | You may use following [[guide_automation_advanced#wsh|Windows script host JScript code]] (''example.js''): | ||