Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • tenny 2 posts 72 karma points
    Nov 16, 2016 @ 08:54
    tenny
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 16, 2016 @ 09:15
    Dennis Aaen
    1

    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.

    <!-- 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>
    

    Hope this helps,

    /Dennis

  • tenny 2 posts 72 karma points
    Nov 16, 2016 @ 09:25
    tenny
    0

    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

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Nov 16, 2016 @ 18:48
    Dennis Aaen
    0

    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

  • 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.

Please Sign in or register to post replies