Error: Could not create object named "WinsSCP.SessionOptions"

Advertisement

mzognrah
Joined:
Posts:
1
Location:
omaha, ne

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")

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum