What could be causing this corruption in .docx files during httpwebrequest?
问题 I am using httpwebrequest to post a file with some additional form data from an MVC app to a classic ASP site. If the file is a .docx, it always arrives as corrupted. Others seem to open fine, but it could be that their formats are more flexible. When I open the original and corrupted files in Sublime Text, I noticed that the corrupted file is missing a block of 0000 at the end. When I manually replace this block the file opens fine. Is there something I'm doing incorrectly in my .NET code