I'm working up a script for using WinSCP to upload files to an SFTP site.
In the GUI, it connects perfectly though does get a prompt for passphrase.
I copied the generated script in Powershell and run it, and it fails.
Probably not handling the prompt correctly but cant figure it out.
Attached are copies of log and script.
Thanks in advance!