Topic "TransferOptions.ResumeSupport is read-only"

Author Message
Refresh

Guest


Hi,

I'm trying to use the new ResumeSupport transfer option in the .NET library.

But the field seems to be read-only. I get a "error CS0200: Property or indexer 'ResumeSupport' cannot be assigned to -- it is read only" when trying to do:

TransferOptions transferOptions = new TransferOptions() { TransferMode = TransferMode.Automatic, ResumeSupport = TransferResumeSupportState.Off };

I'm on the 5.2.1 beta (dll version 1.1.1.3231).
Refresh

Guest


TransferOptions.ResumeSupport.State = TransferResumeSupportState.Off; Embarassed
Arul S.

Guest


Refresh wrote:
TransferOptions.ResumeSupport.State = TransferResumeSupportState.Off; Embarassed


After a long research i found this,

TransferOptions.ResumeSupport.State = 2;
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