Topic "Registering Winscp assembly library to be used with vbscript"

Author Message
kbo
[View user's profile]

Joined: 2013-02-15
Posts: 2
Location: Belgium
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Are you running the command with the folder, where winscp.dll is location, set as working directory?
_________________
Martin Prikryl
kbo
[View user's profile]

Joined: 2013-02-15
Posts: 2
Location: Belgium
prikryl wrote:
Are you running the command with the folder, where winscp.dll is location, set as working directory?


This did the trick, thanks.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License