I have not tried writing a PDF to disk with cfdocument, but my guess is that like every other file operation in CF you need to specify the exact and full file path.
ie - filename='d:\wwwroot\mywebsite\documents\stg.pdf' Wil Genovese Sr. Web Application Developer WolfNet Technologies, LLC On Fri, Jun 13, 2008 at 8:55 AM, Kevin Kelly <[EMAIL PROTECTED]> wrote: > I am not sure what I am doing wrong here, but I have tried this about a > bunch of times so far. I believe that this is correct for the top. > > <!--- START EXPORT SNIPPET---> > <cfdocument format="pdf" > filename='stg.pdf' > orientation="#URL.frmt#" > pagetype="custom" > pageheight="#VARIABLES.numH#" > pagewidth="#VARIABLES.numW#" > scale='100' > overwrite = "no" > > > <!--- END EXPORT SNIPPET---> > > My issue is that the document is not outputting to a separate file. > However, without the filename, I get the desired effect for browser output. > Suggestions, please. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307446 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

