1 Reply Latest reply on May 8, 2008 5:14 AM by Fundyfog

    CFHeader question

      I'm trying to use <cfheader name="Content-Length" value="57000"> as part of a file download but all I get is an empty file. If I remove the tag it downloads the file correctly. Any suggestions what might be going wrong?

      My code
      <cfheader name="Content-Length" value="57000">
      <cfheader name="Content-Disposition" value="attachment; filename=downloadfile.exe">
      <cfcontent file="C:\downloadfile.exe" deletefile="NO" type="APPLICATION/OCTET-STREAM">

      I'm running CF8, Apache 2.xx on a Window 2003 server.