Re: Having exception when GiveUpSecurityAndAcceptAnySshHostKey is enabled
It seems that you are connecting with FTP(S).
FTP(S) uses TLS/SSL, not SSH, so you need to set
https://winscp.net/eng/docs/library_sessionoptions#giveupsecurityandacceptanytlshostcertificate
FTP(S) uses TLS/SSL, not SSH, so you need to set
GiveUpSecurityAndAcceptAnyTlsHostCertificate
.
https://winscp.net/eng/docs/library_sessionoptions#giveupsecurityandacceptanytlshostcertificate