SetDownloadStream Method

Sets the stream to which the downloaded file is written.

Syntax

public void SetDownloadStream(System.IO.Stream downloadStream);
Public Sub SetDownloadStream(ByVal DownloadStream As System.IO.Stream)

Remarks

When set, the file data will be written to the stream when downloaded from the server. The stream should be open and normally set to position 0.

The component will automatically close this stream if CloseStreamAfterTransfer is true (default).

It is recommended to call this method from within the AcceptFile event to ensure each received file is set to the intended stream object.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 .NET Edition - Version 20.0 [Build 8203]