I am trying to generate a PDF on the fly, and the data that I get back from the PDF server is being truncated if I try and output its contents via cfhttp.filecontent. When I output the stream to the browser, I get all the proper beginnings of the PDF file, but it gets cut off early on in the binary data. However, if I write the cfhttp call directly to a file via cfhttp's file attribute, the full stream is saved to the file and I can view it in a PDF viewer with no problem.
Is this a known issue with cfhttp? I'm using 4.5.2 SP2 on Solaris, and I've seen references to these sorts of issues in CF 5, but wasn't sure if they were related to this. I've found a workaround, but it involves calling a Python server (where the PDF is generated), which then calls the back-end CF template that generates the markup to be sent to the PDF generator, and then is sent back to the browser via the Python server. Ideally, I'd like to have my UI page call my back-end CF template directly without having to use the Python server. Again, back to my original point though, is there an issue with cfhttp truncating data? Thanks, Dave. ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

