Differences
This shows you the differences between the selected revisions of the page.
2009-04-23 | 2009-04-23 | ||
timestamp file name with wsh (martin) | full anchors (martin) | ||
Line 27: | Line 27: | ||
- | ===== Downloading file to timestamped-filename ===== | + | ===== [[download_timestamped_filename]] Downloading file to timestamped-filename ===== |
You may use following [[guide_automation_advanced#wsh|Windows script host JavaScript code]] (''example.js''): | You may use following [[guide_automation_advanced#wsh|Windows script host JavaScript code]] (''example.js''): | ||
Line 87: | Line 87: | ||
</code> | </code> | ||
- | ===== Downloading the most recent file ===== | + | ===== [[download_most_recent_file]] Downloading the most recent file ===== |
You may use following [[guide_automation_advanced#wsh|Windows script host JavaScript code]] (''example.js''): | You may use following [[guide_automation_advanced#wsh|Windows script host JavaScript code]] (''example.js''): | ||
Line 206: | Line 206: | ||
</code> | </code> | ||
- | ===== [[local_move]] Moving local files to different location after successful upload ===== | + | ===== [[local_move_after_successful_upload]] Moving local files to different location after successful upload ===== |
WinSCP does not support move command for local files. Instead you can combine WinSCP script with batch file: | WinSCP does not support move command for local files. Instead you can combine WinSCP script with batch file: | ||
Line 232: | Line 232: | ||
</code> | </code> | ||
- | ===== [[synchronize_any]] Shortcut to synchronize any local file with remote directory ===== | + | ===== [[synchronize_any_local_file]] Shortcut to synchronize any local file with remote directory ===== |
You may want to have script that synchronizes any local directory with a same-named subdirectory of fixed remote path, e.g.: | You may want to have script that synchronizes any local directory with a same-named subdirectory of fixed remote path, e.g.: |