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:

Emailer setup (1997) Monthly Help File (1999) quantity minimum problem (1997) PCS Frames (1997) [WebDNA] decrypt appears to be hosed (2008) Signal Raised (1997) Re:[input] context (1999) My Eyes doth deceive me (2002) Whats going on with my SERIAL NUMBER??? (1998) searching by date (1998) question: webmerchant connection (1997) [WebDNA] Help with STMP Setup using Authentication with Google (2016) Follow-up to listfiles bug report ... (2003) setting line item numbers (1998) Giving out error pages (1997) WebCat2b13MacPlugIn - syntax to convert date (1997) WebCat2 - [format thousands] (1997) Default admin bug and how tech support reacted to it. (2000) writing db to disk (1997) San Diego WebCat/Network Position (2000)