This is probably not the correct forum to post this in but I couldn't find a WebUpload forum. I just need to know how to access the WebUpload control's equivalent to the asp:FileUpload control's FileBytes object. With the FileUpload control I can access the contents of the file as a byte array by accessing FileUpload.FileBytes. I need to be able to do this because we're not allowed to upload files to our webserver. Therefore, we have to capture the bits and put them into a MemoryStream. Once we've done that we can create an in-memory Zip file and email the file contents. Is there not an equivalent object in the WebUpload control like the FileUpload control's FileBytes object?
The WebUpload control looks for a key called fileUploadPath in the web.config to know where to upload a file. The value attribute of that key points to a file path. Since we can't upload to disk I guess the question is how do I specify a MemoryStream as my fileUploadPath?