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 tothe 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 oractiveX 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:
Not sure really .. Not that know of > the user will need to post the page tothe 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 oractiveX 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:
WCS Newbie question (1997)
Drop Down Menus (2002)
Multiple prices (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997)
WebDNA tags in WebMerchant email templates ... (1997)
PHP vs. WebDNA (2003)
Need A Hired Gun :^) (1998)
Incompatibility with WebCat 3 templates ... (2000)
wrong input values? (1997)
Include a big block of text (1997)
PCS Customer submissions ? (1997)
Summ=T Problem (1997)
Summing fields (1997)
Anyone using unix? Having problems... (2000)
webcat2b12 CGI -- Date comparisons (1997)
Off Topic - OS X web server, FTP accounts (2003)
Custom Shipping Charges (1997)
New Command prefs ... (1997)
Resume Catalog ? (1997)
different show next (1997)