resume support is read only WINSCP5.2.4BETA
Hi - Thanks for fixing the transfer resume support in the .net library however I cant set the state as the resume support property is set to be read-only
running windows 8 with 3.5 framework
my code for setting resume state
TransferOptions transferOptions = new TransferOptions();
transferOptions.TransferMode = TransferMode.Binary;
TransferResumeSupport trs = null; //no constructor so i leave as null to create object
trs.State = TransferResumeSupportState.Off;
trs.Threshold = 0;
transferOptions.ResumeSupport = trs; // <-- this line fails as Resume support is read only
Transfer options class
public sealed class TransferOptions
{
public TransferOptions();
public string FileMask { get; set; }
public FilePermissions FilePermissions { get; set; }
public bool PreserveTimestamp { get; set; }
public TransferResumeSupport ResumeSupport { get; }
public TransferMode TransferMode { get; set; }
}
Apologies if this has already been reported I couldn't find any mention of it
Richard
running windows 8 with 3.5 framework
my code for setting resume state
TransferOptions transferOptions = new TransferOptions();
transferOptions.TransferMode = TransferMode.Binary;
TransferResumeSupport trs = null; //no constructor so i leave as null to create object
trs.State = TransferResumeSupportState.Off;
trs.Threshold = 0;
transferOptions.ResumeSupport = trs; // <-- this line fails as Resume support is read only
Transfer options class
public sealed class TransferOptions
{
public TransferOptions();
public string FileMask { get; set; }
public FilePermissions FilePermissions { get; set; }
public bool PreserveTimestamp { get; set; }
public TransferResumeSupport ResumeSupport { get; }
public TransferMode TransferMode { get; set; }
}
Apologies if this has already been reported I couldn't find any mention of it
Richard