[Vtigercrm-commits] [Vtiger development] #8292: Larger attachments can not be download
Vtiger development
vtiger-tickets at trac.vtiger.com
Mon Oct 13 07:24:20 GMT 2014
#8292: Larger attachments can not be download
-------------------------+------------------------
Reporter: rishab | Owner: developer
Type: known issue | Status: new
Priority: unassigned | Milestone: Unassigned
Component: vtigercrm | Version: 6.1.0
Severity: Medium | Keywords:
-------------------------+------------------------
MailManager cannot download file greater than size of 5MB
Workaround:
In vtiger_root/modules/MailManager/Config.php we set the Download
limit.Change to it required value on your server.
{{{
static $MAILMANAGER_CONFIG = array(
// Max upload limit in bytes
'MAXUPLOADLIMIT'=> 5242880,
// Max Download Limit in Bytes, as the files are encoded
the file size increases
// so the limit is set to close to 7MB
'MAXDOWNLOADLIMIT'=>7000000,
// Increase the memory_limit for larger attachments
'MEMORY_LIMIT' => '256M'
);
}}}
but as file is encoded during upload,a file of actual size 5Mb may come up
as 5+Mb during download.
If we set {{{'MAXDOWNLOADLIMIT'}}} to around 4000000 it will download file
of size about 30+ Mb.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8292>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list