WebClient UploadFile call fails only on MP4 files
So I have an application that uploads files to a server via POST and it uploads files of different types in the following sequence:
jpg->mp4->mp3
The jpg and mp3 uploads work just fine whereas the mp4 file upload fails with the following error:
The remote server returned an error: (404) Not Found.
I'm wondering how/why this could happen when I'm using t开发者_JS百科he same URL each time and the only thing that's changing here is the extension of the file.
Thanks!
Change maxAllowedContentLength in your web.config to allow bigger file uploads.
Your server is not accepting the file.
精彩评论