> 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?

CF often writes files to a local temp directory before putting them in
their final destination. That's probably what's happening here. Does
the temp directory exist? Does CF have permission to write to it?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:354885
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to