Help - Search - Members - Calendar
Full Version: Uploading Files: File Size Limits
Movable Type Community Forum > Using Movable Type > Entries and Archives
verablogs
Is there a file size limit on uploaded files (I believe there is because I received an error msg when uploading)?
If so, where does one set the file size option?

Thanks,

Michael
imabug
i don't believe there's an upload size limit built into MT. The webserver may have one though. you might want to check with your host provider to see if they've implemented upload limits using something like mod_security
david
The maximum file size that may be uploaded through Movable Type is set with the CGIMaxUpload configuration directive in the mt-config.cgi configuration file. The default CGIMaxUpload value in MT 4.2 appears to be 20MB if the mt-config.cgi config file does not have a CGIMaxUpload setting.

If you do not have a CGIMaxUpload directive in your mt-config.cgi configuration file, you would need to edit the mt-config.cgi configuration file and add it to the bottom of the file with the maximum file size you wish to be able to upload (in bytes). For example, the following CGIMaxUpload setting would allows files up to 50MB in size to be uploaded:
CODE
CGIMaxUpload 50000000

If the CGIMaxUpload is set large enough for the files you are trying to upload, and you are still seeing server errors trying to upload them (particularly with larger files), you may be running into an issue with the web server timing out before the upload can be completed. In that event, you would need to talk to your web host about increasing the web server's timeout setting to allow more time for file uploads to be completed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.