3 Replies Latest reply on Jul 21, 2006 11:58 AM by BKBK

    Get PDF from another site

      does anyone know how to get a pdf file from another site?
      Width cfhttp I am able to obtain the content of the pdf but when a try to write it

      <cffile action="WRITE" file="#myFileName#" output="#CFHTTP.FileContent#">

      on my pc I obtain a not readable PDF file.

      Same result width

      <cfdocument FORMAT="pdf">#CFHTTP.FileContent#</CFDOCUMENT>.

      Can anyone help me, please?