Project

General

Profile

Actions

Feature proposal #6841

closed

Implement check to see if file being uploaded is larger than PHP limit

Added by krileon over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
06 November 2017
Due date:
% Done:

100%

Estimated time:

Description

There should be a jQuery validation check to prevent even attempting to upload if the file is larger than PHP allows. Without this user is given a generic error and isn't quite clear what is wrong.

Actions #1

Updated by krileon about 6 years ago

There's no JS validation to begin with so that also needs to be added to avoid posting files to the server that can't possibly upload.

Actions #2

Updated by krileon about 6 years ago

  • Priority changed from Normal to High
Actions #3

Updated by krileon about 6 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

The maximum file size validation will now take into account the maximum post and upload size limits set in PHP so jQuery validation will properly block something that can't possible POST. Multi-uploading also now has full jQuery validation on per upload basis so files too large or wrong extension won't even POST giving instant feedback to the user.

Actions #4

Updated by krileon about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF