<cfif fileexists()>
<cffile action="" ...>
</cfif>
<cf_html2pdf3 ...>
In the template to delete the file before html2pdf tries to write over it,
that way you wouldn't need to worry about whether html2pdf was going to fail
or not.
--
Jay
> -----Original Message-----
> From: E C list [mailto:[EMAIL PROTECTED]
> Sent: 22 July 2004 14:00
> To: CF-Talk
> Subject: CF_HTML2PDF3 Question
>
> I have run into a strange issue with the CF_HTML2PDF3.
> I have been using it for some time to create simple PDFs
> without any problems. Lately I've noticed that it doesn't
> seem to want to overwrite existing PDF files but it doesn't
> throw any errors that I can tell.
> In other words, I'll have it write a PDF file, and then make
> a change and have it rewrite a file of the same name. When I
> go back and check, the file isn't updated, even though I know
> the code that should have done so executed. I am wondering
> if anyone has any advice on how to debug this. I can't
> figure out how to get the tag to tell me if its hitting an
> error and what that might be. BTW, it seems to work
> sometimes, just not every time.
>
>
>
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!
> http://advision.webevents.yahoo.com/yahoo/votelifeengine/
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

