May I know what file formats are supported in upload file by Umbraco 7 CMS?
I have gone through some other CMS, they support below formats by default.
pdf;doc;docx;ppt;pptx;xls;xlsx;htm;html;xml;bmp;gif;jpg;jpeg;png;wav;wma;wmv;mp3;mp4;mpg;mpeg;mov;avi;swf;rar;zip;txt;rtf
If you want exclude specific file extensions to be uploaded to the media library then you can add the file extension(s) to the Disallow section in the umbracoSettings.config.
<!-- 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>
Just a stupid question, could I assume Umbraco V7 allow the mentioned file upload by default?
pdf;doc;docx;ppt;pptx;xls;xlsx;htm;html;xml;bmp;gif;jpg;jpeg;png;wav;wma;wmv;mp3;mp4;mpg;mpeg;mov;avi;swf;rar;zip;txt;rtf
And we can also configure Umbraco V7 to disallow certain file format upload, right?
Upload file format support
Hi There,
May I know what file formats are supported in upload file by Umbraco 7 CMS?
I have gone through some other CMS, they support below formats by default. pdf;doc;docx;ppt;pptx;xls;xlsx;htm;html;xml;bmp;gif;jpg;jpeg;png;wav;wma;wmv;mp3;mp4;mpg;mpeg;mov;avi;swf;rar;zip;txt;rtf
Best regards, Tenny
Hi Tenny and welcome to our.
If you want exclude specific file extensions to be uploaded to the media library then you can add the file extension(s) to the Disallow section in the umbracoSettings.config.
Hope this helps,
/Dennis
Hi Dennis,
Thanks a lot!
Just a stupid question, could I assume Umbraco V7 allow the mentioned file upload by default? pdf;doc;docx;ppt;pptx;xls;xlsx;htm;html;xml;bmp;gif;jpg;jpeg;png;wav;wma;wmv;mp3;mp4;mpg;mpeg;mov;avi;swf;rar;zip;txt;rtf
And we can also configure Umbraco V7 to disallow certain file format upload, right?
Best regards, Tenny
Hi Tenny,
You can upload every file extensions that not are listed in the disallow list in the umbracoSettings.config.
So you won´t be able to upload html,htm because they are in the disallowed list. If you want to then you simply remove them from the list.
If you want to exclude some files to be uploaded in the backoffice, then you simple add these file extensions to the disallow list.
Hope this answer your question.
/Dennis
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.