IP*Works! 2016 .NET Edition
IP*Works! 2016 .NET Edition
Questions / Feedback?

SetUploadStream Method

Sets the stream to be uploaded to the server.

Syntax

[VB.NET]
Public Sub SetUploadStream(ByVal UploadStream As System.IO.Stream)
[C#]
public void SetUploadStream(System.IO.Stream uploadStream);

Remarks

If an upload stream is set before the PutFile method is called, the content of the stream will be read by the component and uploaded to the server; The stream should be open and normally set to position 0. The component will automatically close this stream if CloseStreamAfterTransfer is set to true (default). If the stream is closed, you will need to call SetUploadStream again before calling PutFile again. The content of the stream will be read from the current position all the way to the end.

Note: SetUploadStream and LocalFile will reset the other.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
IP*Works! 2016 .NET Edition - Version 16.0 [Build 7353]