The only problems I have ever seen with cfcontent and setting the doc type
is that people get confused that things just "open" however, they forget
that they actually told their browser to do this at some point when they
installed software. So i usually end up sending pdf's or whatever and
forcing the download by setting the content type to application/octet-stream
and it forces the download box. Not very elegant but it works.

On Fri, Feb 22, 2008 at 8:41 AM, Howard Fore <[EMAIL PROTECTED]> wrote:

> On 2/21/08, Darin Kohles <[EMAIL PROTECTED]> wrote:
> >
> > if you absolutely want to give the full URL, then
> > use the format 'http://yourdomain.com/' - as the file(s) will have to
> > be located relative to your web root.
> >
>
> Yep. This is the method I've followed in the past. I've found that there
> are a lot of pitfalls with the cfcontent and cfheader in getting
> cross-browser acceptability of various document types using MIME types,
> particularly when you get into the issue of wanting the downloaded file to
> have a specific file name. Your Mileage May Vary. So the process I've
> followed is to write the file to disk in an internet accessible location
> (ie, somewhere in your webroot), then send the browser a page that has a
> javascript function that sets the location.href to that file.
>
>
> --
> Howard Fore, [EMAIL PROTECTED]
> "The universe tends toward maximum irony. Don't push it." - Jeff Atwood
> -------------------------------------------------------------
> Annual Sponsor - Figleaf Software <http://www.figleaf.com>
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------




-- 
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] 267-482-4364
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to