Error: Could not create object named "WinsSCP.SessionOptions"
I am trying to download a file from a ftp server and I am getting below when I run the script.
Error: Could not create object named "WinsSCP.SessionOptions" @Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
--beginning of the script below until the error line--
<job>
<reference object="WinSCP.Session"/>
<script language="VBScript">
Option Explicit
' Setup session options
Dim sessionOptions
Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
Error: Could not create object named "WinsSCP.SessionOptions" @Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
--beginning of the script below until the error line--
<job>
<reference object="WinSCP.Session"/>
<script language="VBScript">
Option Explicit
' Setup session options
Dim sessionOptions
Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")