Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Question about WebUpload
posted

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?

Parents Reply Children
No Data