There's an example of how to do this (minus the DB update) in the CFDIRECTORY docs 
which were included with your copy of ColdFusion server.

http://127.0.0.1/cfdocs/CFML_Language_Reference/2_ColdFusion_Tags/lr2_024..htm

---mark

--------------------------------------------------------------
Mark Warrick
Phone: (714) 547-5386
Fax: (714) 972-2181
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--------------------------------------------------------------


> -----Original Message-----
> From: Emmet McGovern [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 17, 2001 10:25 AM
> To: CF-Talk
> Subject: rewrite filesize?
> 
> 
> Can anyone show me snippet of code to read a filesize and write it to a
> database? I have a file manager i wrote using cffile but some of 
> the uploads
> are just tooo big.  We upload a fake 4k file now then write the 
> larger file
> overtop of it.  I need to be able to reread the size of the file 
> and update
> the db with the new filesize.
> 
> 
> Thanks,
> 
> 
> Emmet McGovern
> Systems Administrator
> Byte Size Inc
> http://www.oceancity.md
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to