File Size too large -- but it's not!

File Size too large -- but it's not!

Kirk Dunkirk -
回帖数:6

Using a database on Moodle 1.9 for my students to upload and share powerpoint presentations.

Each group has thier own database entry with member names, report title etc. One field is for file upload, where they upload powerpoint documents.

The maximum file size is set at 50mb, most of the students' files are about just 2mb.

Most of the files upload no problem but several files, size **just 2mb** can't upload and the Moodle site says "File size too large."
 

Just in case, I tried uploading on a different PC, via USB memory stick to my "teachers" PC running Win7 but got same error message.

Huh?

回复Kirk Dunkirk

Re: File Size too large -- but it's not!

kushal mehta -

Its simple..

Change max upload size in php.ini at your server.Default is 2 mb. You can put as large as you want.I have keep till 128 mb.

 - kMet

回复Kirk Dunkirk

Re: File Size too large -- but it's not!

ben reynolds -

I happen to have just looked up how to do this. http://docs.moodle.org/22/en/File_upload_size

回复ben reynolds

Re: File Size too large -- but it's not!

Kirk Dunkirk -

I see.

I was confused because when I made the database, I had options to set max file size as large as 50mb, so I assumed the site-wide max file size was the same.

I'm not admin so I can't change the file size myself (also, practically speaking it's too late to do this for the course this time) but I went back and downloaded the ppt projects that were successfully uploaded and all of them were under 2mb.

 

The ones that couldn't be uploaded were just a little over 2 or maybe 3mb, but I think there is a function in Powerpoint to try to set a target file size. Well, discussion for another place. Thanks.

回复Kirk Dunkirk

Re: File Size too large -- but it's not!

ben reynolds -

Here's a rather clunky workaround. Use Open Office (I think it's now called LibreOffice) to open the ppt and then save as Flash, which will be considerably smaller.

I wonder if zamzar would convert a ppt to something smaller.

回复Kirk Dunkirk

Re: File Size too large -- but it's not!

Stuart Mealor -
Particularly helpful Moodlers的头像

Anoter workaround is, if you .ppt is aroudn the 2Mb limit, just create a .zip file - at least this way learners can download and open the document 微笑

回复Stuart Mealor

Re: File Size too large -- but it's not!

Kirk Dunkirk -

That sounds good for the teacher. Problem in this case is student's can't upload files.

But I suppose I could get them to zip their own ppts. It's just that it starts to get messy, one more thing to explain, one more step that could go wrong.

 

Here's a new twist for my situation: I was doing grading, looked at some old files (WAV) that students in the same course had uploaded no problem: file size 10mb. Go figure.