SetDownloadStream Method
Sets the stream to which the downloaded file is written.
Syntax
public void setDownloadStream(java.io.OutputStream downloadStream);
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 class 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.