Hi,
Everything was going along fine until today. I am getting an error that says
"File does not begin with '%PDF-" I added filename="%PDF-ff" to the cfdocument
tag and I didn't get any errors I also didn't get any output.
As I said all was going smoothly, then today my world is upside down.
Any help would be appreciated.
Thanks
Andy
_andyK - 19 Oct 2005 21:39 GMT
It seems that cfdocument is creating a file with an extension of fdf
Anyone have any ideas about this ?
skilzkid - 31 Oct 2005 19:52 GMT
try:
<cfheader name="Content-Disposition" value="filename=filename.pdf">
<cfdoc tags and content>
This will tell the browser to treat the incoming content like a file named
filename.pdf...not 100% sure it will work for you, but it's worth a shot.
skilzkid - 31 Oct 2005 19:53 GMT
...also remove the filename attribute from your cfdocument tag - that tells it to write the file to a physical location on your server instead of to the browser.