I'm using Blueimp and Backload to handle file uploads in my asp.net application. I know how to restrict file extensions by doing something like:
<input type="file" name="files[]" accept="image/png" multiple>
But I also need to validate the file extension in the server side before writing it to disc.
Any tip is appreciated.