This question is locked. New answers and comments are not allowed.
I know it sounds weird but I had upload working and it stopped working for me now. There have been no changes to the code that deals with File Upload.
My controller still gets called but 'attachments' is null. I have used Network Capture to see what is going on. And since I have a released build I see this in the Request Body
-----------------------------7db43990220
Content-Disposition: form-data; name="attachments"; filename="sample.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
And in the new build that doesn't work the Request Body is
-----------------------------7db224262a0808
Content-Disposition: form-data; name=""; filename="D:\Dropbox\sample.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
The name parameter in Content-Disposition is empty in the case it doesn't work. And the attachments parameter is null when my controller action gets control. Why would this be ever null?
My controller still gets called but 'attachments' is null. I have used Network Capture to see what is going on. And since I have a released build I see this in the Request Body
-----------------------------7db43990220
Content-Disposition: form-data; name="attachments"; filename="sample.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
And in the new build that doesn't work the Request Body is
-----------------------------7db224262a0808
Content-Disposition: form-data; name=""; filename="D:\Dropbox\sample.docx"
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
The name parameter in Content-Disposition is empty in the case it doesn't work. And the attachments parameter is null when my controller action gets control. Why would this be ever null?