This will do it...only available as a DW plugin though. I remember just opening up the plugin and hacking out what I was interested in though. http://massimocorner.com/index.html?body$http://massimocorner.com/dw/behaviors.htm
It works using the fileSize attribute in IE4+ iirc. <img src="test.gif" onclick="alert(this.fileSize)"> -- jon mailto:[EMAIL PROTECTED] Friday, July 11, 2003, 5:49:13 PM, you wrote: cbn> I know I've used something before that could tell you the filesize of a file input when you post a form, but I can't find the code. I remember testing images to not allow upload of images over cbn> 100K. Is it a form var or CGI? I know you can see file.filesize after you do a file upload, but I need to avoid uploading the file if it's over a certain size. Help? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

