In case it would be helpful to someone who has the same problem I had listed at the start of this thread, I realized the following that using the
winscp.ini instead of
server.ini caused things to work much easier.
To Explain:
I found that using the WinSCP GUI I could accept the FTP SSL certificate. But, when I tried the following command from the WinSCP online documentation for automation, the certificate didn't work:
winscp /console /script=example.txt /ini=server.ini
What I didn't realize is that if I changed
server.ini to
winscp.ini, then it would work with the certificate I had accepted via the GUI.
What I had done to cause the original problem was to create the
server.ini file from some of the
winscp.ini lines. But, in doing so, I failed to get the needed certificate information.
So, the easy solution was to the following command line instead:
winscp /console /script=example.txt /ini=winscp.ini
- Scott