[thelist] Downloading Files in CF

Chris Johnston chris at completeimaging.com
Tue Jun 12 15:53:57 CDT 2001


I have tried it other browsers and all of them break in some way or
another. I have yet to find a solution that will work in all browsers.
(With the exception of placing the files on an FTP site, which is being
strictly outlawed by the client) I don't really want to use an applet or
an active x program so I am not really sure what I am going to do. It
may come down to building a really messing page that detects that
clients browser and carries out the appropriate actions. Either that or
programming a way of determining the mime-type of the files being placed
on the server.

What I have found so far is that it only breaks for known mime-types.
Therefore, if I can figure out a way of detecting which mime-type a file
is, I can probably make it work. The problem with the work a rounds is
that they either rely on added programs which are out of my programming
expertise (and out of the budget) or really on work arounds that only
work in Internet Explorer.

Anyone know of a way of detecting the mime-type of a file in CF?

/chris

PS. Yet another strike against Micro$oft!!!

> -----Original Message-----
> From: thelist-admin at lists.evolt.org 
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Joe Crawford
> Sent: Tuesday, June 12, 2001 4:38 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] Downloading Files in CF
> 
> 
> Chris Johnston wrote:
> > This at least explains why I can't get it to work. This is 
> what I have 
> > so far:
> 
> Well despite the IE5.5sp1 bug - have you tested it in another 
> browser? (Netscape4? Opera? Mozilla?) and does it work *there*?
> 
> And have you tried the recommendations on the MS support page?
> 
> 	- joe
> 
> > <cfheader name="Content-disposition" value="inline; 
> > filename=#url.AccFile#"> <cfcontent type="application/x-unknown"
> >         file="#application.filepath##accno#\#url.AccFile#"
> >         deletefile="No">
> > 
> > So has anyone found a way around this little ie 5.5 sp1 
> problem using 
> > CF?
> http://support.microsoft.com/support/kb/articles/Q279/6/67.ASP
?LN=EN-US

-- 
...................  Joe Crawford \\ Web Design & Development .....
mailto:jcrawford at avencom.com \\ http://www.avencom.com .... San Diego \\
CA \\ USA \\ AVENCOM: Set Your Sites Higher





More information about the thelist mailing list