Re: [WebDNA] Max upload file size

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105296
interpreted = N
texte = Since WebDNA resides on the server it is impossible for WebDNA to know how = large the file is until AFTER it's been uploaded. If you want to prevent l= arge files from being uploaded you must detect the file size on the client = machine -- via Javascript. Sincerely, Kenneth Grome > Hi >=20 > I have a form post using enctype=3D"multipart/form-data=B2 that permits f= or a > file upload of a resume/CV. As can be expected, it would be helpful if we > could limit the size of the files that people are attempting to upload, as > the site is pretty busy. In theory a whole bunch of people could all be > trying to upload massive files at the same time, and the darn server may > just keel over. >=20 > I=B9m sure that someone must have come up against this before? >=20 > Could be a feature request for there to be a max post like PHP... If there > isn=B9t already but I just don=B9t know about it. >=20 > While I=B9m here.... Anyone know of a nice form submit disable that works= in > both IE and Firefox? I=B9m using; >=20 > >" onSubmit=3D"this.value=3D'P= lease > Wait...'; this.disabled=3Dtrue;" /> > Which works in IE but not Firefox. >=20 > Previously had; > >" > onSubmit=3D"this.disabled=3Dtrue;return true;" /> > Which worked in Firefox but not IE. >=20 >=20 >=20 > Thanks all, > =20 >=20 >=20 >=20 >=20 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Max upload file size (Lawrence 2010)
  2. Re: [WebDNA] Max upload file size ("Dan Strong" 2010)
  3. Re: [WebDNA] Max upload file size (Govinda 2010)
  4. Re: [WebDNA] Max upload file size (Marc Thompson 2010)
  5. Re: [WebDNA] Max upload file size (Govinda 2010)
  6. Re: [WebDNA] Max upload file size (Kenneth Grome 2010)
  7. [WebDNA] Max upload file size ("Diane Blackmore (Cohesion)" 2010)
Since WebDNA resides on the server it is impossible for WebDNA to know how = large the file is until AFTER it's been uploaded. If you want to prevent l= arge files from being uploaded you must detect the file size on the client = machine -- via Javascript. Sincerely, Kenneth Grome > Hi >=20 > I have a form post using enctype=3D"multipart/form-data=B2 that permits f= or a > file upload of a resume/CV. As can be expected, it would be helpful if we > could limit the size of the files that people are attempting to upload, as > the site is pretty busy. In theory a whole bunch of people could all be > trying to upload massive files at the same time, and the darn server may > just keel over. >=20 > I=B9m sure that someone must have come up against this before? >=20 > Could be a feature request for there to be a max post like PHP... If there > isn=B9t already but I just don=B9t know about it. >=20 > While I=B9m here.... Anyone know of a nice form submit disable that works= in > both IE and Firefox? I=B9m using; >=20 > >" onSubmit=3D"this.value=3D'P= lease > Wait...'; this.disabled=3Dtrue;" /> > Which works in IE but not Firefox. >=20 > Previously had; > >" > onSubmit=3D"this.disabled=3Dtrue;return true;" /> > Which worked in Firefox but not IE. >=20 >=20 >=20 > Thanks all, > =20 >=20 >=20 >=20 >=20 Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Online reference (1997) PCS Frames (1997) RSS Reader - WebDNA (2007) WebCatalog and Linux (2000) session handling (2004) Need help with emailer- 2 issues (1997) Smart caching problems with 2.1b3? (1997) Help! (1996) strange IE 4.0 (1998) [OT] FTP client (2003) Experience with creating real dynamic solutions?????? (1998) ACGI processing for .html (1997) [ShowIf] a either fields are blank (1998) Summary search -- speed (1997) Error:Too many nested [xxx] contexts (1997) WebCat2b15MacPlugin - showing [math] (1997) Field Totals (2004) Two prices in shoppingcart? (1997) 2.1 bugs left over from beta cycle (1998) Updating a database once per day - An example (1998)