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:
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.
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.