Do you have the form attributes right, umm type and method?

On Mon, May 7, 2012 at 9: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:351037
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to