WinSCP APPCRASH
I am developing a WinSCP script. It works well when the public key is available. I am using errorlevel to determine if there are failures. This is working well in most cases. The only case I have found that it fails is when the public key is not available. Rather than return an errorlevel, WinSCP prompts for a password, then times out and crashes WinSCP. When it crashe in this manner, it reports no errorlevel and my scripts treats it as a success. Is there a way to keep WinSCP from prompting for a password? Some way to capture this condition so I know there is a failure?
Thank you,
Joe
Thank you,
Joe