SetUploadStream Method
Sets the stream to be uploaded to the server.
Syntax
public void SetUploadStream(System.IO.Stream uploadStream);
Public Sub SetUploadStream(ByVal UploadStream As System.IO.Stream)
Remarks
If you specify EDIData the data will be taken from there instead. Otherwise the contents of the stream will be written to EDIData before transmission. The stream should be open and normally set to position 0.
The component will automatically close this stream if CloseStreamAfterTransfer is true (default). If the stream is closed, you will need to call SetUploadStream again before the next send.
The content of the stream will be read from the current position all the way to the end.