How to remove file size limit in Google Drive repo?

Re: How to remove file size limit in Google Drive repo?

by Arun Joseph -
Number of replies: 0
Hello everyone!

I managed to fix this issue by adding some code to the repository_ajax.php.

added $repo->name != 'Google Drive' condition to the following if clause.

if ($maxbytes != -1 && filesize($downloadedfile['path']) > $maxbytes && $repo->name != 'Google Drive') {
$maxbytesdisplay = display_size($maxbytes);
throw new file_exception('maxbytesfile', (object) array('file' => $record->filename,
'size' => $maxbytesdisplay));
}