Last post Jan 03, 2014 09:33 AM by acoates
Jan 03, 2014 08:32 AM|acoates|LINK
I am looking for a way to upload a file to a memory stream along with additional form data, without saving the file to the local file system.
I have looked at the MultipartMemoryStreamProvider and the MultipartFormDataStreamProvider, but cannot see how to access form data with the MultipartMemoryStreamProvider whilst the MultipartFormDataStreamProvider gives me access to the form data but seems
to save file data locally, from which I guess I'd need to read the file into a memory stream for me to then use it, which seems a bit of an overhead, unless I am missing something?
Jan 03, 2014 08:56 AM|stockcer|LINK
I spent awhile working on this exact request and provided several articles. Check these out. Let me know what specific issues you have. It can be done but not very simple.
here is my sample:http://blog.arvixe.com/how-to-access-multipart-form-values-using-multipartmemorystreamprovider/
Jan 03, 2014 09:33 AM|acoates|LINK
Thanks David, just want I was looking for