Hi all,
Re: CFCONTENT, MIME types, filenames, browsers
You have to deal with BOTH browsers. IE tends to ignore MIME types and look
at the file extension, so you have to use a trick. Basically, you just tack
a fake filename onto the end of your URL, like so:
http://servername/cfdocs/index.cfm
I use application/unknown as a mime type when I want to force a download
box. If you have the actual mime type for PQA files, that can be used as
well (but can have other problems).
> I want my users to be directed to a page that automatically throws them a
> document. The document is a .PQA fil
I want my users to be directed to a page that automatically throws them a
document. The document is a .PQA file, which is a Palm Query Application for
the Palm Pilot. My understanding was that I needed to specify the MIME type
in IIS and then use CFCONTENT to serve the file. Since there is no MIME
: <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 8:41 AM
Subject: RE: CFContent MIME Types
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Is there a list of the different MIME types that should be used
> with CFContent? I'm returning a .txt file, but when it comes up
> on the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>
Yup... That's how I used to do it until NT SP6 broke that. I dunno
whether it works under 451 or under Win2k. Anyone else tried that
under either 451 and/or Win2k?
(Under NT SP6, you get 404 not found for firstfivereleases.html in
that case.)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Is there a list of the different MIME types that should be used
> with CFContent? I'm returning a .txt file, but when it comes up
> on the user's
> machine, it comes up with the name of the script (script.cfm)
> instead of the
> file name (xyz.tx
too many quotes.
- Original Message -
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 8:21 AM
Subject: Re: CFContent MIME Types
> Hi Justin,
>
> This throws an error. It does not like the "FILENAME"
Hi Justin,
This throws an error. It does not like the "FILENAME" attribute. It says
it's unknown. Any suggestions?
Plus, isn't this a " short? You have a double quote after value=, but no
matching end quote.
Thanks,
Dave
---
s better
Dave
- Original Message -
From: "JustinMacCarthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 7:56 AM
Subject: Re: CFContent MIME Types
Hi Dave
Try added this before your Cfcontent tag:
to display in the browser:
> Is there a list of the different MIME types that should be used with
> CFContent?
Right click and edit tag.
> I'm returning a .txt file, but when it comes up on the user's
> machine, it comes up with the name of the script (script.cfm)
> instead of the
> file name (xyz.txt). I think it has so
Hi Dave
Try added this before your Cfcontent tag:
to display in the browser:
to download :
~JustinMacCarthy
- Original Message -
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, July 28, 2000 12:50 PM
Subj
11 matches
Mail list logo