Project

General

Profile

Actions

Feature proposal #6841

closed

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

Feature proposal #6841: Implement check to see if file being uploaded is larger than PHP limit

Added by krileon about 8 years ago. Updated almost 8 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.

Updated by krileon almost 8 years ago Actions #1

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.

Updated by krileon almost 8 years ago Actions #2

  • Priority changed from Normal to High

Updated by krileon almost 8 years ago Actions #3

  • 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.

Updated by krileon almost 8 years ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom