Re: Recording size of uploaded file?

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39357
interpreted = N
texte = 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, TimTim Robinson Art Director imagine online tim@imagine.com.au http://www.imagine.com.auOn 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/ 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)
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, TimTim Robinson Art Director imagine online tim@imagine.com.au http://www.imagine.com.auOn 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/ Tim Robinson

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:

WC1.6 to WC2 date formatting (1997) syntax question, not in online refernce (1997) WebCatalog for Postcards ? (1997) listwords and delimiters.. showing blank word? (2004) sending two mails from one template (2004) different show next (1997) Great product and great job ! (1997) PCS Emailer's role ? (1997) Mime Headers for Mail (1998) can webcat determine an image's pixel dimensions? (2000) [showif] / [hideif] (1997) [SHOWIF AND/OR] (1997) Multiple Merchant Accounts? (1997) More questions about serial number dishing (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) Showing unopened cart (1997) Problems with dbcatalog.exe (1997) [TaxableTotal] - not working with AOL and IE (1997) emailer settings and control questions (1997) What abobut variables named max ??? (2000)