Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Re: The process exit code was "1" while the expected was "0"

Thanks for the good customer service in replying. You are correct, it was not WinSCP.
martin

Re: The process exit code was "1" while the expected was "0"

It's your PowerShell script that is failing. So I do not see, what does this have to do with your WinSCP.exe process.
mjninc

The process exit code was "1" while the expected was "0"

Hello,
Question: What do I need to do to make this work?

I have an SSIS Execute Process task that runs a .txt file, which then runs a PowerShell script of what WinSCP generates for an SFTP file transfer. See attached.

What I've done. I've ensured the agent running the task has rights to the correct locations and I've uninstalled and re-installed WinSCP.

I have the log file, but I only want to post what's relevant. What part of the log file is relevant to post? It's 860 lines long.

This setup works on a dev box, but not a different box. The script is generated by WinSCP.