WinSCP, SSIS and SQL Job
I have the the executing of WinSCP as a Execute Process task in my SSIS project. Works perfectly as I have the WinSCP executable executing commands from a script file. Again works perfectly. However when I run the SSIS package from a SQL job I get the below error. Has anyone experienced this before or know what the issue is? Thanks in advance.
Description: In Executing "C:\Program Files (x86)\WinSCP\WinSCP.exe" "/script=D:\Success_Factors\SCP_Script\myscript.txt" at "", The process exit code was "1" while the expected was "0". End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 5:00:02 AM Finished: 5:00:05 AM Elapsed: 2.746 seconds. The package execution failed. The step failed.
Description: In Executing "C:\Program Files (x86)\WinSCP\WinSCP.exe" "/script=D:\Success_Factors\SCP_Script\myscript.txt" at "", The process exit code was "1" while the expected was "0". End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 5:00:02 AM Finished: 5:00:05 AM Elapsed: 2.746 seconds. The package execution failed. The step failed.