Technology In Education Online

Integrating Technology - It's Not About Using, It's About Infusing

Facing the Upload Limit in Moodle

I am using the Moodle frequently for activities in the classroom.  One of the most used activities is the assignment activity.  Here I can have students submit their assignments on-line via a file upload option with the assignment.
Here is the option to upload an assignment.
This is the option I tend to use the most when it comes to assignments. For most activities, the defaults work just fine regarding the file size limit of the upload (usually 2mb or 10mb).  However, there are occasions when a file exceeds the maximum file limit size.  If you have experienced this situation you may wonder to yourself, “What do I do now!”  In a case like this you might grab a flash drive and save it there or just might allow students to use the online text. If their assignment includes video and sound this might not work for you. It may only serve as a temporary fix to a long-term problem.  I came across this situation when I had students upload their digital stories.  Most students’ files were under the 10mb limit of the Moodle.  However, the number of students beyond this limit began to add up and I needed to do something about this problem.
Going online and do a Google search I found the most common solution to this problem was to create a php.ini file.  I use a hosting service for my website, Moodle, and blog.  Within the control panel of my web hosted site, there will be an option to configure the PHP environment.  Once completed it will generate a php.ini file.  When I did it with my service it created a php.ini file with a limit of 2mb for upload size. So the next step was to change the maximum upload size to allow for larger file sizes to be uploaded.
The php.ini file with maximum upload size of 2MB
The first thing I do is download the php.ini file to my local computer.  I then use a text editor to make the changes I need to make.  The easiest way to locate the section of the file that I need to make the changes is to  go to Edit – Find (1) and type inmax_file and click Find Next. I do this until I get to the section File Uploads. I then locate the upload_max_filesize = 2M (2) and change it to whatever I need to change the size to. Now something to keep in mind is the size you choose will determine how large a file you can upload to the Moodle.  If your like me, you may have some videos that are over 100mb, especially if you are flipping your classroom and include video lessons on your Moodle.  So you may want to consider a large number to allow for what you want to upload.  Keep in mind you can always limit the size of what the students can upload, which I’ll get to next.
Ok, you’ve changed the  
upload_max_filesize = (# size)M to whatever suits your purpose. You are one happy person! You go in and create an assignment and go to set the maximum upload size to a larger number and wait it’s not allowing you to go above a certain file size!!! What is going on?!!!!
Locate File Submission under
There is one final step you will need to complete.  If you go to the Administration (see above) , select Site Administration Plugins – Assignment – File Submissions. You will need to change one more setting.
Changing the file size for maximum upload for assignments.
Once this final change is completed, students now can upload files to the new maximum size that I indicated in the File Submissions setting.  Now there is one thing to keep in mind with this process and that is you need to have admin privileges to complete this process.  If you don’t you need to speak to whoever is in charge of your Moodle to make the necessary changes.  Good luck!
blog comments powered by Disqus