Here is Massimo's. Only works for images... http://www.massimocorner.com/beta/js_upload.htm
I'll see if I can dig up my function when I get home. -- jon mailto:[EMAIL PROTECTED] Friday, September 13, 2002, 12:46:01 AM, you wrote: BEB> Good lead, I'll play with it. Thanks. BEB> Bonnie E. Betts BEB> [EMAIL PROTECTED] BEB> www.bettsIT.com BEB> 703.508.9766 BEB> ----- Original Message ----- BEB> From: "Everett, Al" <[EMAIL PROTECTED]> BEB> To: "CF-Talk" <[EMAIL PROTECTED]> BEB> Sent: Thursday, September 12, 2002 2:15 PM BEB> Subject: RE: QUESTION: how to limit uploading files with large filesize >> You can try using CGI.CONTENT_LENGTH to get a general idea of the size of >> the file being uploaded. It won't be exact, since all of the HTTP header >> information is included in that number, but it'll give you a ballpark >> figure. >> >> > -----Original Message----- >> > From: Bonnie E. Betts [mailto:[EMAIL PROTECTED]] >> > Sent: Thursday, September 12, 2002 4:33 PM >> > To: CF-Talk >> > Subject: QUESTION: how to limit uploading files with large filesize >> > >> > >> > I need to limit the size of the files users are uploading >> > onto my server. I'm using straight input type of file on the >> > form and then cffile to upload. I've read up on cffile and >> > it seems that AFTER I've uploaded I can use the parameter of >> > filesize but then that's a bit too late. >> BEB> ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

