Is that location inside of the web root?  You say the file exists but isn't 
openable, right?  If it is outside of the web root, you may need to add a 
mapping to the server. 

----------------------
William Seiter 

On May 7, 2012, at 6:32 PM, Tony <tonyw...@gmail.com> wrote:

> 
> hi there.
> 
> 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.
> 
> _however_
> 
> if I simply ftp the file, the same exact file from my machine, and I
> browse to it, it's working just fine :)
> 
> *when I use CFFILE, the file actually appears on the server, and i can
> see the file, with filesize as I would expect it.
> 
> this doesnt work, I need to build this for my client to manage the
> files themselves, ive done this 20 other times
> for other clients, but today, its just not working... any clues?!
> 
> ive tried every attribute i can think of... nothing is making sense.
> 
> thanks
> tw
> 
> 

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

Reply via email to