VBScript – SshHostKeyFingerprint is not set
                Good Morning.
I am creating a VBScript to upload files via FTP. I can connect with WinSCP GUI. When the script is run it gives the error
    
The VBScript is below:
    
I have tried adding the 
    
Thank you for your help.
                
                
                
            
            
        I am creating a VBScript to upload files via FTP. I can connect with WinSCP GUI. When the script is run it gives the error
The Generate session URL/Code for VB.NET is below:SessionOptions.Protocol is Protocol.Sftp or Protocol.Scp, but the SessionOptions.SshHostKeyFingerprint is not set
' Set up session options Dim sessionOptions As New SessionOptions With sessionOptions .Protocol = Protocol.Ftp .HostName = "ftp.address.com" .PortNumber = 990 .UserName = "username" .Password = "password" .FtpSecure = FtpSecure.Explicit End With sessionOptions.AddRawSettings("MinTlsVersion", "12") Using session As New Session ' Connect session.Open(sessionOptions) ' Your code End Using
' Set up session options Dim sessionOptions Set sessionOptions = CreateObject("WinSCP.SessionOptions") With sessionOptions .Protocol = Protocol_Ftp .HostName = "ftp.address.com" .PortNumber = 990 .UserName = "username" .Password = "password" .FtpSecure = FtpSecure_Explicit End With sessionOptions.AddRawSettings "MinTlsVersion", "12" Dim session Set session = CreateObject("WinSCP.Session") ' Connect session.Open sessionOptions ' Your code
.SshHostKeyFingerprint and .TlsHostCertificateFingerprint to sessionOptions using the fingerprint from the Server and protocol information, only to receive the  SSH host key fingerprint "xxx" does not match pattern, for the following iterations below:
SHA-256 2048 xx:xx:xx:xx... SSH-RSA 2048 xx:xx:xx:xx...