TransferResumeSupport Class

Configures automatic resume/transfer to temporary filename.

Syntax

Namespace: WinSCP

Advertisement

C#
public sealed class TransferResumeSupport
VB.NET
Public NotInheritable Class TransferResumeSupport

Properties

Name Description
TransferResumeSupportState State Sets what files will be transferred with resume support/to temporary filename. Use TransferResumeSupportState.Default for built-in default (currently all files above 100 KB), TransferResumeSupportState.On for all files, TransferResumeSupportState.Off for no file (turn off) or TransferResumeSupportState.Smart for all files above threshold (see Threshold).
int Threshold Threshold (in KB) for TransferResumeSupportState.Smart mode. Setting the Threshold automatically sets the State to the TransferResumeSupportState.Smart.

Methods

Name Description
string ToString() Returns textual representation of settings. (Overrides Object.ToString().)

Remarks

This class is referenced by TransferOptions.ResumeSupport.

Example

Real-Life Example