W3C home > Mailing lists > Public > public-html-comments@w3.org > September 2007

file uploads - limiting size

From: Stephen Fensom <Stephen.Fensom@dcmnr.gov.ie>
Date: Wed, 19 Sep 2007 13:16:34 +0100
Message-ID: <97190D0D30A822479621EF685ABCEDDC076F01D2@SAREX04.marine.gov.ie>
To: <public-html-comments@w3.org>
Hi,

I have researched the issue of limiting the size of file uploads
extensively in the last few days.

The web site I am developing, has a pretty standard file upload
facility.

But, we want to limit file to 1MB in size.

To my disappointment, this is not possible to do in any standard way
client side. I currently am doing server side checks instead.

Rfc1867 talks about using MAXLENGTH to do this, but, its use in HTML
specs is purely for max chars allowed in a text or password input.

I know there are other means (applet, activeX) to client side checks,
but this really should be standard browser functionality, and not cause
the user to be prompted for permissions!

I believe this would be very small work to achieve, and the benefits
huge. Imagine being able to inform the user up front of the problem.
Savings on bandwidth, time, disk space and server processing would be
much appreciated.

http://www.cs.tut.fi/~jkorpela/forms/file.html covers the topic in
detail as well.

Please, please, please, how can we get this in to the spec.

Cheers,

 Stephen Fensom 

 



Disclaimer:

This electronic message contains information (and may contain files), which may be privileged or confidential.  The information is intended to be for the sole use of the individual(s) or entity named above.  If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information and or files is prohibited.  If you have received this electronic message in error, please notify the sender immediately.

This is also to certify that this mail has been scanned for viruses.


Ta eolas sa teachtaireacht leictreonach seo (agus b'fheidir sa chomhaid ceangailte leis) a d'fheadfadh bheith priobhaideach no faoi run. Is le h-aghaidh an duine/na ndaoine no le h-aghaidh an aonain ata ainmnithe thuas agus le haghaidh an duine/na ndaoine sin amhain ata an t-eolas. Murab ionann tusa agus an te a bhfuil an teachtaireacht ceaptha do biodh a fhios agat nach gceadaitear nochtadh, coipeail, scaipeadh no usaid an eolais agus/no an chomhaid seo. Mas tri earraid a fuair tu an teachtaireacht leictreonach seo cuir, mas e do thoil e, an te ar sheol an teachtaireacht ar an eolas laithreach. 

Deimhnitear leis seo freisin nar aimsiodh vireas sa phost seo tar eis a scanadh.
Received on Wednesday, 19 September 2007 16:54:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:13:57 GMT