Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

viveksingh16

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