>> Is there a way to serve content via a .cfm file...
>>
>>
>> If you click Save As it want's to save it as "serve.cfm.htm"
We always force a download by setting the mime type to "application/unknown"
because you can never tell how the browser will respond to the "correct"
mime type. Man
Duh! Thanks Ben. You know it's really Bobby's job to make me feel stupid :)
-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 4:52 PM
To: CF-Talk
Subject: RE: cfheader filename problem
Try wrapping the filename in sin
Actually double quotes are ok too (probably preferable), as per the
example in the spec:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html
You'd need to escape the double quotes: ""some file.etx""
Some sort of quote is necessary in any case, as the spec states that a
quoted string is expect
Dave,
I am not totally sure here but I think replacing it with %20 would be
the only way to keep it from truncating. I think the truncating is
happening on the browser side.
-Randy
Dave Francis wrote:
> Hi,
>
> I'm trying to download files with this:
>
>
>
>
>
>
>
>
>
>
Try wrapping the filename in single quotes:
..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
www.bennadel.com/ask-ben/
-Original Message-
From: Dave Francis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 1:
5 matches
Mail list logo