you don't need the cfheader, just use cfcontent, ie example below...

<cfcontent type="application/x-zip-compressed" file="blah.zip"
deletefile="No">

Nat

-----Original Message-----
From: Ledva, Joseph (Joe) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 9:36 AM
To: CF-Talk
Subject: Download via cfcontent:garbage @ EOF


Howdy,
I have a file that has been tar'd then gzipped. I download the file
using cfheader & cfcontent. it downloads fine but when I unzip it an
error popup pops up saying there is garbage at the EOF. Does anyone
know how to get rid of the garbage? Here is the code, this is the
only line of the file, the code is all on one line but I split it up
onto seperate lines for this posting.
Thanks in advance!
Joe
[EMAIL PROTECTED]

<cfheader name="Content-Disposition" value="attachment;
          filename=TheFile236.tar.gz">
<cfcontent type="application/x-zip-compressed"

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to