Alternatively, see the guide Advanced FTP/SFTP scripting for examples of checking script results (including XML log parsing) using more powerful languages and the guide to Interpreting XML log for advanced scripting using C# language. If you require checking results of each command individually, you should better use the WinSCP. ini=nul /log=example.log /script=example.txtĪ similar error handling is used in the batch file template that WinSCP can generate for you. You should also make the batch file indicate a result in its exit code, particularly if it is called from some parent system (for example SSIS). Once you find out what was the result of the script, you can perform any action you like: print a message, send an email, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |