I've seen some javascript that checks the size of the submission when
the post takes place.  I can't remember where, but www.irt.org may be a
good place to start. 

-----Original Message-----
From: Martin Parry [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 09, 2005 3:57 AM
To: CF-Talk
Subject: RE: Possible to tell where a file went?

Hi Les - You could try <cfdump var="#cffile#"> after you have done the
upload.. That will give you all the information you need.

Unfortunately the file must be uploaded before we can ascertain how big
it actually is.. You will be able to examine the mime type of the file
by looking at the dump of CFFILE. I can't remember off hand if the file
size is in the CFFILE scope (I think it is though) - If not, you could
do a CFDIRECTORY of the folder where the file was uploaded to and
specify a filter of whatever the filename was e.g. myfile.mp3 - that
will give you the files size.. Then depending on wether you're happy or
not, delete the file and throw an error to the user.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189750
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to