A constructor was not found. WinSCP.TransferResumeSupport

Advertisement

Superchick
Joined:
Posts:
1
Location:
South Africa

A constructor was not found. WinSCP.TransferResumeSupport

hi there,
I am writing a PowerShell script to download a file from an FTP site. I have loaded the assembly.

The script works fine to download a file.
But each time I try to create a new TrasnferResumeSupport Object.
With this:

        $resumeSupport = New-Object WinSCP.TransferResumeSupport

I get this error:
A constructor was not found. Cannot find an appropriate constructor for type WinSCP.TransferResumeSupport.

Am I missing something here?

Thank you.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum