RE: Best way to read a zip file?

2007-07-10 Thread Bobby Hartsfield
You could try using COM cfset fso = createobject(COM, Scripting.FileSystemObject) / cfset theFile = fso.GetFile(D:\path\to\my.zip) / cfoutput#theFile.Size#/cfoutput Dump #fso# and #theFile# for more goodies. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com

Re: Best way to read a zip file?

2007-07-10 Thread Massimo Foti
This is worth a try too: http://www.cflib.org/udf.cfm?ID=787 Massimo Foti, web-programmer for hire Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com

RE: Best way to read a zip file?

2007-07-09 Thread Ben Nadel
Johnny, How is crashing? When you are crating the Zip? Opening the zip? I don't know about the size, but it seems funny that it should crash anything. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/

Re: Best way to read a zip file?

2007-07-09 Thread Alan Rother
cfdirectory filter it by *.zip and look for your particular zip file by doing a query of queries It has the size in the result set On 7/9/07, Johnny Le [EMAIL PROTECTED] wrote: Hi, What is the best way to find out the size (in bytes) of a zip file? I use cffile to read it and then use the

Re: Best way to read a zip file?

2007-07-09 Thread Ian Skinner
Would the cfdirectory ... tag work for you? It returns the size as well as other information about the files it returns in its record set. ~| CF 8 – Scorpio beta now available, easily build great internet experiences – Try