could not create object named "WinSCP.SessioOption"
Hi,
I have 2 devices running windows 10 and a server running 2012R2 and when I run a wsf script to upload files via ftp one windows 10 device works OK but the other w10 device and the 2012 server both give an error
could not create object named "WinSCP.SessioOption"
I have registered the com on all devices using the following commands without error
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb:WinSCPnet32.tlb
%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb:WinSCPnet64.tlb
code excerpt failing - Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
any ideas ?
I have 2 devices running windows 10 and a server running 2012R2 and when I run a wsf script to upload files via ftp one windows 10 device works OK but the other w10 device and the 2012 server both give an error
could not create object named "WinSCP.SessioOption"
I have registered the com on all devices using the following commands without error
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb:WinSCPnet32.tlb
%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb:WinSCPnet64.tlb
code excerpt failing - Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
any ideas ?