> im sending a file to my server with the following code:
> <cffile action="upload"  destination="d:\webserver\doman.com\www\docs"
> nameconflict="overwrite" filefield="pdf_file" attributes="readonly" />
>
> the result of this when I browse the file in chrome and safari (on my
> mac) both result in a "Failed to Load PDF Document" error.
>
> ...
>
> *when I use CFFILE, the file actually appears on the server, and i can
> see the file, with filesize as I would expect it.

My conclusion would be that, since the file upload is in fact working,
the problem is being caused by the code after the file upload.
Specifically, I'd guess that you're trying to render the PDF you just
uploaded. Do you really need to do that in the same operation?

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

Reply via email to