Ah, we've tried that as well and our clients hated it. To much clicking they said (end users suck!). We're also providing a PDF version of the file. But for some strange reason, people still want to look at the file on screen. Also, we're using cffile now but we want to move to cfcontent which, through testing, seems to be very fast. However, one glitch with using cfcontent is that the files don't have extensions - we could do a cffile rename and just add an extension, but... Another problem is the file needs pre tags around it in order to keep the formatting correct. As an aside, anybody want my job? :-)
I thank everybody for their input. It's all been great help! Mark -----Original Message----- From: Paul Sizemore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 9:29 AM To: CF-Talk Subject: RE: Text Compression Utility? Could you read it with CFFile and display only a few thousand lines at a time (with next, previous, first and last buttons like you would have for a data set)? -----Original Message----- From: Mark Stewart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 8:53 AM To: CF-Talk Subject: RE: Text Compression Utility? The goal is to compress the file as much as possible but still keep the formatting, etc. -----Original Message----- From: Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 5:59 PM To: CF-Talk Subject: Re: Text Compression Utility? What is your goal? For the enduser to download a compressed file with a txt extension? Or do you just want the page to load faster? On Tue, 4 Dec 2001, Mark Stewart wrote: > I'm looking for a utility that will compress large text files, but not > change the extension. For example - I have a 2mb text file called > readme.txt - after compression, it becomes a 100k file still called > readme.txt. My situation - We have a main frame putting text files into > a directory. Through the web, we display these files as links. When a > user clicks on the link, we display the file. In some cases, these text > files reach 2mb. It doesn't take a rocket scientist to figure out that > displaying 2mb files over the web is unacceptable. So, I'm looking for a > way to compress them, possibly through a command-line utility or > something. > > Any thoughts? > > > Mark Stewart > Programmer/Analyst > CC3 > Phone: 215.672.6900 x1332 > http://www.cc3.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists