Yeah, I guess that would work. I was thinking more along the lines of an OS function or something. I guess I can use cfdirectory with the filter to check individual files. Thanks for the idea. I've been sick so my brain isn't altogether here.
John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 12:14 PM To: CF-Talk Subject: RE: Get file size on UNIX? cfdirectory? -----Original Message----- From: Burns, John D [mailto:[EMAIL PROTECTED] Sent: Thursday, 28 April 2005 11:58 To: CF-Talk Subject: Get file size on UNIX? I'm not a unix guy so I appologize for the (hopefully) easy question. What's the easiest way to get the file size of a file that is already sitting on the server? I need to loop over a list of files and save the file size and name of each file to a db. Any help that can be offered would be greatly appreciated. Thanks. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204961 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

