The Movable Type Knowledge Base

Upload File Too Large

Question

When trying to upload a file, I received an error message saying it was too large. What is the size limit, and can it be changed?

Answer

The default setting for the size of uploaded files is 1MB, to prevent denial-of-service attacks. If you wish to increase this size limit, use the CGIMaxUpload setting in mt-config.cgi1.

For example, to increase the size limit to 1.5MB, use:

CGIMaxUpload 1500000

Remember to uncomment the setting2 in mt-config.cgi. Save and transfer the configuration file back to your server in ASCII mode.

1 In versions prior to 3.2, the configuration file is named mt.cfg.

2 To uncomment a setting means to remove the # from the beginning of the line where it appears.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.