I think that is where the file="[pathtofile]\sartxfercy.txt" attribute
comes in.  You didn't have it in your original code, did you put it in
this go round?

My application does exactly what you want.  Forces a download of a text
file on both Mac and PC and names the file as I have it spelled out in the
file attribute of the cfcontent tag.

Also, as someone already mentioned you had, value="attached;..." rather
than value="attachment;...."  If you hadn't fixed that, it could have made
a difference too.

-Patti

>> <cfheader name="Content-Disposition" value="attachment;
>> filename=file.xml">
>> <cfcontent file="[pathtofile]\sartxfercy.txt" type="application/unknown"
>> >

>
> 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]

Reply via email to