on 11/4/00 8:42 AM, Emmet McGovern at [EMAIL PROTECTED] wrote:
> Im trying to use cfcontent to trigger a file download and write a download
> count to a database. Works great on pc but fails on a mac.
> Anyone know the solution to this? Or a way that will work on a mac. The mac
> spits out an attempt to load page error.
>
> <CFQUERY NAME="GetFileInfo" DATASOURCE="studio">
> SELECT location,movie
> FROM movie
> WHERE MovID = #URL.MovID#
> </CFQUERY>
>
>
> <CFQUERY NAME="updatecount" DATASOURCE="studio">
> UPDATE Movie
> SET rank = rank+1
> WHERE MovID = #URL.MovID#
> </CFQUERY>
>
> <CFHEADER NAME="Content-Disposition" value="attachment;
> filename=#GetFileInfo.movie#">
> <CFCONTENT TYPE="unknown" FILE="#GetFileInfo.location#">
I've successfully used <cfcontent> to serve files to Macs. I think you'll
find it's choking on the <cfheader>, not the <cfcontent>. never used
<cfheader>, so I don't know.
--
Rob Keniger
big bang solutions
<mailto:[EMAIL PROTECTED]>
<http://www.bigbang.net.au>
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]