Re: Recording size of uploaded file?

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39358
interpreted = N
texte = Not sure really .. Not that know of > the user will need to post the page to the server to get a response anyway so this may be your only option.Unless there is some client side method of checking this with java or activeX first ??> Hi Alain, > > 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] > > Regards, > Tim > > Tim Robinson > Art Director > imagine online > tim@imagine.com.au > http://www.imagine.com.au > > > > On Monday, 15 October 2001 11:19 AM, Alain Russell > wrote: >> [FileInfo file=../Pictures/1234.gif] >> [size] >> [/FileInfo] >> >> Alain >> >>> Hi there everyone, >>> >>> I was wondering if there was a way of recording the size of an uploaded >>> file... so if someone uploads an image, it will write the file size to a db. >>> >>> The reason being that we're sending out multiple HTML emails which clients >>> control, and if they're sending out 10000 emails which have 100K of image >>> data >>> in each, then the amount of data adds up. We'd like to know how much. >>> >>> Thanks. >>> >>> Regards, >>> Tim >>> >>> Tim Robinson >>> Art Director >>> imagine online >>> tim@imagine.com.au >>> http://www.imagine.com.au >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ >>> >> >> >> >> ------------------------------------------------------------- >> 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/ >> > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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)
Not sure really .. Not that know of > the user will need to post the page to the server to get a response anyway so this may be your only option.Unless there is some client side method of checking this with java or activeX first ??> Hi Alain, > > 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] > > Regards, > Tim > > Tim Robinson > Art Director > imagine online > tim@imagine.com.au > http://www.imagine.com.au > > > > On Monday, 15 October 2001 11:19 AM, Alain Russell > wrote: >> [FileInfo file=../Pictures/1234.gif] >> [size] >> [/FileInfo] >> >> Alain >> >>> Hi there everyone, >>> >>> I was wondering if there was a way of recording the size of an uploaded >>> file... so if someone uploads an image, it will write the file size to a db. >>> >>> The reason being that we're sending out multiple HTML emails which clients >>> control, and if they're sending out 10000 emails which have 100K of image >>> data >>> in each, then the amount of data adds up. We'd like to know how much. >>> >>> Thanks. >>> >>> Regards, >>> Tim >>> >>> Tim Robinson >>> Art Director >>> imagine online >>> tim@imagine.com.au >>> http://www.imagine.com.au >>> >>> >>> >>> ------------------------------------------------------------- >>> 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/ >>> >> >> >> >> ------------------------------------------------------------- >> 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/ >> > > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Alain Russell

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:

WebCat2 - [format thousands] (1997) [WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020) Attn:SMSI WebDNA Developers Edition (2002) Converting native excel files (2001) Re2: Calculating multiple shipping... (1997) Is there an alternative to emailer? (1999) WebCat and image maps (1997) Running 2 two WebCatalog.acgi's (1996) Frames and WebCat (1997) Sending E-mail (1997) Max Record length (1997) [WebDNA] Sort by Row (2017) 2.0 Info (1997) webcat feature request (1997) Determining position (2000) Potential Conflicts? (1997) speed of TCPConnect? (1998) can WC render sites out? (1997) Fun with Dates - revisited (again) (1997) Pre-flight public flag (1997)