Patricia G. L. Hall wrote:
> Try this:
>
> <cfheader name="Content-Disposition" value="attachment;
> filename=file.xml">
> <cfcontent file="[pathtofile]\sartxfercy.txt" type="application/unknown" >
>
> I don't know for sure if you need the file="[pathtofile]" I just know
> that in my application, which works on the mac, I used that attribute.
> The important part, though is that you specify type="application/unknown".
>
> Works for me.
I tried using application/unknown and it worked on the Mac but it put
.cfm on the end of the file when I tried it with the PC. Strange. I need
this to work on Mac and PC so I wonder if I should try to see what OS
they are using and adjust the code accordingly. Hmmmm
Phillip B
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- force file download for a Mac Phillip B.
- Re: force file download for a Mac Patricia G. L. Hall
- Re: force file download for a Mac Phillip B.
- Re: force file download for a Mac Patricia G. L. Hall
- Re:force file download for a Mac Jack Dalaa
- RE: force file download for a Mac Paul Vernon
- RE: force file download for a Mac Dave Watts
- Re: force file download for a Mac Phillip B.