Using Com object for SFTP in VBS file

Advertisement

viveksingh16
Joined:
Posts:
2
Location:
japan

Using Com object for SFTP in VBS file

HI All,


After executing the atatched Vbs script file , I am getting below Error
---------------------------
Windows Script Host
---------------------------
Script: D:\PCS\bin\NewTest.vbs
Line: 3
Char: 1
Error: Could not create object named "WinSCP.SessionOptions".
Code: 80040154
Source: WScript.CreateObject

---------------------------
OK
---------------------------


Where as I have already registered the COM, using GACUtil and RegAsm.exe too.

Could you please help me and let me know if i need to do Something for using com object in VB script.
Please change the extension of file to vbs
Thanks
Vivek

Reply with quote

Advertisement

You can post new topics in this forum