You specify the disallowed upload filetypes in /Config/umbracoSettings.config.
Look for the element disallowedUploadFiles and you will see that .html files are disallowed when you install umbraco. Just remove that filetype and you should be fine.
<!-- These file types will not be allowed to be uploaded via the upload control for media and content -->
<disallowedUploadFiles>ashx,aspx,ascx,config,cshtml,vbhtml,asmx,air,axd,swf,xml,html,htm,svg,php,htaccess</disallowedUploadFiles>
Media upload error
Failed: Cannot upload file System.Net.Http.MultipartFileData, it is not an approved file type
I not cant upload html file. Where cant change media file upload type?
Hi Ennija.
You specify the disallowed upload filetypes in /Config/umbracoSettings.config.
Look for the element disallowedUploadFiles and you will see that .html files are disallowed when you install umbraco. Just remove that filetype and you should be fine.
Best of luck to you!!
thanks it helped
Great to hear Ennija. Have a great day and good luck with the rest of your Umbraco site! :)
is working on a reply...