SetReceiveStream Method

Sets the stream to which the received file data from will be written.

Syntax

public void SetReceiveStream(System.IO.Stream receiveStream);
Public Sub SetReceiveStream(ByVal ReceiveStream As System.IO.Stream)

Remarks

This method sets the stream to which the incoming file will be written. This can be set from within the StartTransfer event when a file is received.

The file data will be written to the stream. The stream should be open and normally set to position 0. The component will automatically close this stream if CloseStreamAfterTransfer is true (default). The downloaded content will be written starting at the current position in the stream.

If a download stream is set, the incoming file will not be written to LocalDirectory.

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