Registering Winscp assembly library to be used with vbscript

Advertisement

kbo
Joined:
Posts:
2
Location:
Belgium

Registering Winscp assembly library to be used with vbscript

Hello,

I want to copy/delete files from a remote server using ftp with WinSCP. I'm using a windows 7 32 bit system where i'm local admin. I already installed the downloaded setup file of Winscp and extracted the assembly (WinSCP.dll) into the setup file. No i want the register the .dll as explained on the site with the command in a prompt window: %WINDIR%\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe WinSCP.dll /codebase /tlb. I keep getting the return: RegAsm : error RA0000 : Unable to locate input assembly 'WinScp.dll' or one of its dependencies.

What can be the problem here? Security?

Thanks in advance

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Registering Winscp assembly library to be used with vbscript

Are you running the command with the folder, where winscp.dll is location, set as working directory?

Reply with quote

kbo
Joined:
Posts:
2
Location:
Belgium

Re: Registering Winscp assembly library to be used with vbscript

martin wrote:

Are you running the command with the folder, where winscp.dll is location, set as working directory?

This did the trick, thanks.

Reply with quote

Advertisement

You can post new topics in this forum