SetUploadStream Method

Sets the stream from which data is read when uploading.

Syntax

public void setUploadStream(java.io.InputStream uploadStream);

Remarks

If an upload stream is set before data is uploaded, the content of the stream will be read by the class and uploaded to the server. The stream should be open and normally set to position 0.

Note: Passing a non-null value for UploadStream will cause LocalFile to be cleared. Similarly, setting LocalFile to a non-empty value will discard any stream set using this method.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 Java Edition - Version 20.0 [Build 8164]