Can we change attachment limit and make it greater than 10 MB?

We have a need to attach a few documents whose size is greater than 10 MB.

Are there any settings that we can adjust to increase the Attachment size from 10 MB to 50 MB?

Regards,

Yes, this is a setting in your site_config.json file:
https://frappeframework.com/docs/v13/user/en/desk/attachments#limits

1 Like

You can change the max_file_size param in Site Config

Refer to this doc

1 Like

@peterg and @Manan_Shah,

Thanks to both for the links.

Here what value have I to set for max_file_size if I want to assign a limit of 50 MB?

Should I just set max_file_size: 50 or something else?

And after making this changes will I have to restart Bench?

Regards,

Hi @yogeshvachhani,

Please check it.

max_file_size: 50000

write in kb

Thank You!

2 Likes