I'd probably start by trying one of these instead just to see if it made a
difference:

./pdf/voucher#user_id#.pdf

Or

#expandPath('./pdf/')# & 'voucher#user_id#.pdf'



On 3/7/13 3:41 PM, "Bruce Sorge" <sor...@gmail.com> wrote:

>
>I am having something strange going on today with my dev machine. I have
>an app that writes a PDF:
>
><cffile action="write" file="pdf/Voucher#user_id#.pdf" output="#Voucher#"
>nameconflict="make unique">
>
>It has been working great, but today when I ran it I was given an java.io
>error that a folder did not exist. Funny thing was that it was looking at
>the following path:
>
>ColdFusion10\cfusion\runtime\work\catalina\localhost\tmp\pdf.
>But as you can see in my cffile I am pointing to a local folder called
>PDF that is in the same directory as the .CFM file calling it. Any ideas?
>
>Also, this is a duplicate of another app that I have that does the exact
>same thing, and it works fine. That app is in another directory, and the
>only difference is that this new one allows the site admin to generate a
>PDF for one customer where the other app I have sends PDF's to all users
>who bought something the day prior.
>
>Thanks,
>
>Bruce
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to