Closed (won't fix)
Project:
FileField
Version:
5.x-2.2
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2007 at 17:11 UTC
Updated:
23 Jan 2008 at 10:26 UTC
How can limit the files size?
I have to limit the upload file size in file download section of Drupal but not runs well?
I have set the upload limt on 50k and the users upload 3mb perfectly.
Please help.
Comments
Comment #1
jpetso commentedStill an issue in 2.x at the moment, but yeah, this is a major bug and should be solved. Rebranding this as bug report instead of support request.
Comment #2
jpetso commentedAnd maybe some more explanatory issue title as well.
Comment #3
anantagati commentedWhen uploaded file is bigger than allowed size it shows this error:
And until page reload there is not possible to upload another file (even file which is smaller that maximal allowed size) and 'Allowed extensions' are empty.
.
Comment #4
dopry commentedthe content_ issue is a busted post... the max sizes are checked in file_save_upload.. not in filefield.. we won't be able to fix that issue here.
Comment #5
jpetso commentedNo, the max sizes are defined by upload.module and checked in _upload_validate()... do we want to support those, or disregard them as upload.module specific settings?
Comment #6
dopry commentedIn D6 they are centralized... so no we won't support them in D5 just yet. There is a feature request for per field upload limits I will consider.