We have created a webform version 7.x-4.12 where we use a File field to upload a file of type txt pdf doc docx ppt pptx xls xlsx zip. We have set the max upload size to 10MB.

We are finding that we are able to upload a file that is bigger than 10MB and we consider this a huge issue as we want to limit the maximum file size. What is needed to get the max. file upload size to be 10MB? Ideally, if the file size exceeds 10MB, an error should be thrown as well letting the user know that they need to upload something smaller.

Comments

raj.ruprai created an issue. See original summary.

drup16’s picture

To provide an update here, I was able to upload a file that was 10.24MB is size, which is not the desired results.

drup16’s picture

I see that during file upload, the parse_size function is used to calculate whether or not the file being upload is greater than our defined max upload size limit.

Is anyone else experiencing this issue?

drup16’s picture

Issue tags: +file
anand.toshniwal93’s picture

Assigned: Unassigned » anand.toshniwal93
anand.toshniwal93’s picture

Assigned: anand.toshniwal93 » Unassigned

i'm unable to reproduce the issue.

DanChadwick’s picture

Priority: Major » Normal
Status: Active » Closed (cannot reproduce)