when i want to upload a file that not ziped this message Is shown
An error occurred
The file(winrar.exe) you uploaded is not allowed.
Whether there is a setting to do?
thanks for help
Reported on Movable Type 5
Since movable type v4.361, v5.051 and v5.11 Six Apart introduced a mechanism which to prevent the upload of a specific set of file names.
The extensions that are not allowed are listed inside this file:
From within your movable type installation folder.
To give you a sample, movable type v5.14 black lists the following extensions:
To still allow the upload of files ending in .exe you would have to add to your movable type installation 'mt-config.cgi' file the following directive:
Which is basically the complete list of extensions from "Core.pm", excepting the .exe one.
While you could set this directive to overwrite the default list of banned extensions, what I would do is to not touch that, but to archive .exe files and upload their .zip corresponding files.
You could read more about the "DeniedAssetFileExtensions" configuration directive here:
Daily Movable Type Consultant
Movable Type Consulting
Six Apart Partner
Movable Type Demo
As an alternative to "DeniedAssetFileExtensions" you may like to consult this other directive:
This other directive is for white listed files types.
You're welcome, Hamid!
If you need to share template code, replace all the "<" signs with "<" or use this utility.
Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011
Last Topic: Manifest Schema Compatibility Issue When Restoring Blog by Matt on Oct 17, 2012
Last Topic: Categories and Basename Publishing Issues by e21media on Oct 25, 2012
Last Topic: absolute publish date in Manage Entries screen by .mau. on Apr 18, 2012
Last Topic: Anti-cloning by .mau. on Oct 29, 2012
Last Topic: Blog moved server - now users cannot access blog? by mowgs on Oct 30, 2012
Last Topic: How to "pretify" a url in htaccess with a few wildcards by Caio on May 30, 2012
Last Topic: Commenting with TypePad by Rob Ferrara on Oct 17, 2012
Last Topic: Does MT-Approval work in MT5? by DLpres on Sep 25, 2012
Last Topic: Upgrading MT by Caio on Oct 15, 2012
Last Topic: Movable Type 6 Ideas by Caio on May 28, 2012
Last Topic: Expanding new rich text editor and implementing table function by Takeshi Nick Osanai on Jul 30, 2012