Upload 2GB file - moodle 2.1

Upload 2GB file - moodle 2.1

by John Bailey -
Number of replies: 3

Hi,

 

I'm trying to increase the file size limit to 2GB .. but once I go above 850MB it says incorrect value and defaults to 850MB.

 

What can I do to be able to upload a 2GB file for a course ?

 

Thanks.

Average of ratings: -
In reply to John Bailey

Re: Upload 2GB file - moodle 2.1

by Christopher Murad -

John,

Have you upped the limits in your php.ini file? (usually located in linux in /etc/php.ini )

Now 2GB is quite high to be uploading through a browser. Have you thought about enabling the files repository and uploading files via FTP/SFTP?

 

Hope this helps

Thanks

Chris

In reply to Christopher Murad

Re: Upload 2GB file - moodle 2.1

by John Bailey -

Hi,

The files are being uploaded for SCORM courses by an app, simulating requests from a browser.

The problem is that when updating php.ini and setting 900MB for example, in Moodle it shows an error in red near the filesize dropdown and it says that it's using the default of 850MB.

 

I'm also using php in IIS6 in case that helps.

 

Thank you.

In reply to John Bailey

Re: Upload 2GB file - moodle 2.1

by Christopher Murad -

Not sure if php in iis6 is the issue but it could be - but I am a Linux Fanboy anyway :P

If after setting the php.ini you could try to manually set the size in the database in the mdl_config table to see if that will force it, but this is not a recommended  practice.

Just seeing what might stick