I\'m creating a SSIS package that uses a script task (via WinSCP) to upload a file to an FTP.
The upload works fine, however I need the process to fail if there is n
Assuming SSIS monitors process exit code, you can make WinSCP return exit code 1 by using option failonnomatch on:
option failonnomatch on put ...