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

martin

Re: Use Com object for SFTP in VBS file

Sorry, but you didn't tell us anything about what you have trying to make it working.
Did you follow all instructions in documentation?
https://winscp.net/eng/docs/library_com_wsh
Huyen John

Use 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
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
wincp.txt (1.49 KB)