Differences
This shows you the differences between the selected revisions of the page.
2014-07-25 | 2014-08-04 | ||
script example (martin) | american spelling + typo (martin) | ||
Line 59: | Line 59: | ||
When connecting to FTPS host with [[ftps#certificate|certificate]] signed by untrusted authority you will need to verify the certificate. | When connecting to FTPS host with [[ftps#certificate|certificate]] signed by untrusted authority you will need to verify the certificate. | ||
- | ===== [[parameterised]] Modifying the script automatically ===== | + | ===== [[parametrized]] Modifying the script automatically ===== |
You may want to modify the script automatically. For example you may want to operate it with different file each time. | You may want to modify the script automatically. For example you may want to operate it with different file each time. | ||
Line 107: | Line 107: | ||
</code> | </code> | ||
- | See more hints on [[guide_automation#using|using parameterised batch file]]. | + | See more hints on [[guide_automation#using|using parametrized batch file]]. |
//See [[guide_automation_advanced|guide to advanced scripting]] for examples of script generation using more powerful languages.// | //See [[guide_automation_advanced|guide to advanced scripting]] for examples of script generation using more powerful languages.// | ||
Line 119: | Line 119: | ||
* Save and inspect output of the script. Use [[executables|output redirection]]. | * Save and inspect output of the script. Use [[executables|output redirection]]. | ||
- | Once you find out what was the result of the script, you can perform any action you like. E.g. after evaluating exit code of WinSCP, you can send a "success" or "error" email. For that use any command-line email client you like, e.g. [[http://glob.com.au/sendmail/|sendmail]]((When installing sendmail, you can ignore all references to ''/usr/lib/'' (or ''c:\usr\lib'') directories in its installation instructions, as you will be running ''sendmail.exe'' directly from a Windows batch file. Just please sendmail files to any convenient location, e.g. along with WinSCP.)). See example batch file: | + | Once you find out what was the result of the script, you can perform any action you like. E.g. after evaluating exit code of WinSCP, you can send a "success" or "error" email. For that use any command-line email client you like, e.g. [[http://glob.com.au/sendmail/|sendmail]]((When installing sendmail, you can ignore all references to ''/usr/lib/'' (or ''c:\usr\lib'') directories in its installation instructions, as you will be running ''sendmail.exe'' directly from a Windows batch file. Just place sendmail files to any convenient location, e.g. along with WinSCP.)). See example batch file: |
<code> | <code> |