Re: Recording size of uploaded file?

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39361
interpreted = N
texte = On 15.10.2001 3:33 AM, Tim Robinson wrote:> Thanks for your quick response! That'll work nicely.... I was wondering if > there's also a way to check the size of a file before it's uploaded? > > Eg. > [showif [file_size_to_upload]>50]That file size is too large to upload.... you > cannot upload an image larger than 50K. > [/showif]You can ONLY do that AFTER the file has been uploaded. The server needs to know first how big the file is before it can give an error message.Maybe Javascript could do something like that, but not sure.Sincerely Nitai-- Tools to energize business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Recording size of uploaded file? (Nitai @ ComputerOil 2001)
  2. Re: Recording size of uploaded file? (Alain Russell 2001)
  3. Re: Recording size of uploaded file? (Tim Robinson 2001)
  4. Re: Recording size of uploaded file? (Alain Russell 2001)
  5. Recording size of uploaded file? (Tim Robinson 2001)
On 15.10.2001 3:33 AM, Tim Robinson wrote:> Thanks for your quick response! That'll work nicely.... I was wondering if > there's also a way to check the size of a file before it's uploaded? > > Eg. > [showif [file_size_to_upload]>50]That file size is too large to upload.... you > cannot upload an image larger than 50K. > [/showif]You can ONLY do that AFTER the file has been uploaded. The server needs to know first how big the file is before it can give an error message.Maybe Javascript could do something like that, but not sure.Sincerely Nitai-- Tools to energize business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com/ Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Nitai @ ComputerOil

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:

Not really WebCat (1997) Scoping rules in WebDNA 4.0 (2000) Search and Show question (2003) Potential Conflicts? (1997) WebCat2 Append problem (B14Macacgi) (1997) a search based on ^(contains) (1998) Serving images from databases (1998) Memory Error message (1998) RE: [WebDNA] serving multiple sites in localhost mode on OSX? (2010) A little syntax help (1997) Lineitems not showing up in ThankYou page (2006) WC2b12: Yes, Formulas.db is for real (1997) Re:redirect from the errorsMessages.db entry (1997) default value from Lookup (was Grant, please help me) (1997) Setting up WebCatalog with Retail Pro data (1996) re:check boxes (1997) Extra Text Fields (was Another question) (1997) Email within tmpl ? (1997) Emailer choke (1997) Date Help (2004)