Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: A constructor was not found. WinSCP.TransferResumeSupport

You cannot create an instance of TransferResumeSupport.

Just access existing instance using TransferOptions.ResumeSupport:
https://winscp.net/eng/docs/library_transferoptions
Superchick

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.