Thanks for the good customer service in replying. You are correct, it was not WinSCP.
It's your PowerShell script that is failing. So I do not see, what does this have to do with your
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.