No .dll file

Advertisement

jimbo311
Joined:
Posts:
4
Location:
USA

No .dll file

So I am working on scripting with WinSCP and it says you use this line to start
Add-Type -Path "WinSCPnet.dll"
but there is no .dll file within the WinSCP folder, I thought this would be included in the download?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,276
Location:
Prague, Czechia

Re: no .dll file

The WinSCP scripting uses no dll.
https://winscp.net/eng/docs/guide_automation

Your code is not for scripting, but for WinSCP .NET assembly. Though even the assembly is included in the installation. At least in recent versions of WinSCP. Maybe you have an old version.
Anyway, if you want to use WinSCP .NET assembly, you should download it separately.
https://winscp.net/eng/docs/library_install

Reply with quote

Advertisement

You can post new topics in this forum