Re: Prompt for passphrase: works in GUI, cannot get to work in Script
It's not a password, it's a passphrase.
UseSessionOptions.PrivateKeyPassphrase
https://winscp.net/eng/docs/library_sessionoptions#privatekeypassphrase
YES! That's it. You are amazing. Thanks much.
I'd buy you a beer but the best I can do is click on the Donate button.