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 specified before the UploadFile method is called, the content of the stream will be read by the bean and uploaded to the server. The stream should be open and normally set to position 0.