TsgcWSPClient_FilesProperties › Files

Files Property

File-transfer settings collection covering buffer size, save directory and QoS.

Syntax

property Files: TsgcWSFilesClient_Options read FFiles write SetFiles;

Default Value

Remarks

Holds the tunables used by every upload and download: BufferSize (default fragment length in bytes), SaveDirectory (where incoming files are written), QoS (Interval, Level qosLevel0/1/2 and Timeout), plus ClearReceivedStreamsOnDisconnect and ClearSentStreamsOnDisconnect to control resume behaviour when the client reconnects.

Example

oProtocol.Files.BufferSize := 32768;
oProtocol.Files.SaveDirectory := 'C:\Downloads\';
oProtocol.Files.QoS.Level := qosLevel2;

Back to Properties