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.
$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?