title: File upload: How to check if any file is selected using Multipart file-upload
body: <p>I'm developing a web api to upload file using Multipart file-upload following the instructions here: <a href="https://www.asp.net/web-api/overview/advanced/sending-html-form-data-part-2" rel="nofollow">https://www.asp.net/web-api/overview/advanced/sending-html-form-data-part-2</a> .
  I wounder if there is any way to check if any file is selected or not. Yes the length can be checked if it is zero but what if an empty file was actually uploaded. </p>