I have update did it in the site.config but no change
I don’t know what problem you have there but if we increase the file size in system settings it works from my side.
No Change
@amal_31845 bench build and migrate the site
@frappe.whitelist(allow_guest=True)
def get_max_file_size() → int:
return (
cint(frappe.get_system_settings(“max_file_size”)) * 1024 * 1024
or cint(frappe.conf.get(“max_file_size”))
or 25 * 1024 * 1024
)
this function is working for getting max file size
1 Like