Can I upload file bigger than 2MB

Can I upload file bigger than 2MB

by rawand amin -
Number of replies: 7
Hi,

How can I upload file bigger than 2MB?

Regards,

Average of ratings: -
In reply to rawand amin

Re: Can I upload file bigger than 2MB

by Jez H -
go to:

Administration / security / site policies

change settings for "Maximum uploaded file size"

There is also a setting in PHP which you may need to alter.

This question has been answered many times before, so, for more info search the forums...
Average of ratings: Useful (1)
In reply to Jez H

Re: Can I upload file bigger than 2MB

by Matt Bury -
Picture of Plugin developers
The default maximum on your web server, not Moodle, is 2MB. If you want to change this limit, you need access to the php.ini file. The majority of web hosts do not allow users access to these settings so you'll have to ask them very nicely if they can do it for you.

If this isn't an option or if you just don't fancy it, you can always use FTP access to upload large files. In my opinion, this is a better arrangement because you can designate one person to keep track of large files taking up valuable server space. You can quite easily end up with several GBs of server space taken up with old videos that nobody watches!
Average of ratings: Useful (1)
In reply to Matt Bury

maximum upload file size

by Marc Grober -
Actually, there are at least three different server side sets of limitations that could impact file transfers.

You can set limitations via your webserver (Apache, for example) and Apache has always been subject to absolute limitations based on your file systems limitations.

The limit most often discussed in the forums is a limit imposed via your php configuration. php is a scripting language that sits on top of the webserver. There is a general upload limit and a post limit which are discussed in the forum elsewhere, e.g.
upload_max_filesize = 83886080
post_max_size = 83886080

Here is a quick discussion of these items: http://www.radinks.com/upload/config.php
http://us2.php.net/features.file-upload
http://docs.moodle.org/en/Installation_FAQ#Maximum_upload_file_size_-_how_to_change_it.3F

You can also set limits using Moodle. While a layering analogy is not altogether accurate, Moodle employs php and you can think of it as the next layer. Course by course max file upload can be set and you can look here for explanation: http://docs.moodle.org/en/Course_settings#Maximum_upload_size

Each subsequent layer cannot make max transfers larger, but they can make them smaller.

Average of ratings: Useful (1)
In reply to rawand amin

Re: Can I upload file bigger than 2MB

by Marc Grober -
Read the documentation and search the forums are first steps.
A forum search on "upload megabytes" produced listings of all the recent discussions on this topic.


Average of ratings: Useful (1)