Instead of using urlformat for the filename var in cfheader I just do a replace and strip the spaces unless business rules don’t allow it. On Dec 22, 2010 9:57 AM, "Chris Champion" <[email protected]> wrote: > I'm curious -- if you change <cfheader name="Content-Disposition" > value="attachment; filename=#file_name#"> > to <cfheader name="Content-Disposition" value="attachment; filename=#* > urlEncodedFormat(*file_name*)*#"> > does the download work for FF with files that have spaces? Does the filename > end up stupidly mangled? > > > On Wed, Dec 22, 2010 at 9:49 AM, Mark Davis <[email protected]> wrote: > >> No problem, Chris. Thanks. To further explain the issue... >> >> Confirmed with our admin guys that Apache has the mimeTypes registered. IN >> fact, the admin guy was able to open the docx files on his machine using the >> page I was having issues with. Hmm. The difference? He was using IE, I was >> using Firefox. I went back and tried IE8 and the docx files opened just >> fine. Little more digging. All the previously uploaded files had spaces in >> the names, so I uploaded some with no spaces. Voila! Firefox and IE both >> work. >> >> Mental note: don't allow spaces in filenames. >> >> On Wed, Dec 22, 2010 at 8:54 AM, Chris Champion < >> [email protected]> wrote: >> >>> Grr, stupid copy/paste errors. Too many browser tabs. Sorry about that. >>> http://www.webdeveloper.com/forum/showthread.php?t=162526 is from the >>> "proper" tab. >>> >>> >>> On Wed, Dec 22, 2010 at 8:33 AM, Mark Davis <[email protected]> wrote: >>> >>>> LOL. Thanks Chris, but not sure what ethanol use in Brazil has to do >>>> with this conversation >>>> >>>> >>>> On Tue, Dec 21, 2010 at 3:32 PM, Chris Champion < >>>> [email protected]> wrote: >>>> >>>>> Mark, I think Mike is onto something-- is the server running Apache for >>>>> the web layer? Apache requires specific configuration for O2K7 files since >>>>> their structure is basically a zip archive of XML files. >>>>> http://www.ethanolproducer.com/article.jsp?article_id=3717 has some >>>>> good info. >>>>> >>>>> -CPC >>>>> >>>>> >>>>> On Tue, Dec 21, 2010 at 2:42 PM, Mark Davis <[email protected]> wrote: >>>>> >>>>>> Thanks Mike, but still nada. If I leave the type off the cfcontent, >>>>>> it tries to use Firefox to open (as expected). If I use application/msword, >>>>>> I get an error trying to start a converter. If I use the 2007 mimetype, it >>>>>> opens a converter, but all the options are garbled. >>>>>> >>>>>> >>>>>> On Tue, Dec 21, 2010 at 2:26 PM, Mike G <[email protected]> wrote: >>>>>> >>>>>>> Throw a docx into a folder on the server and try to cfcontent it. You >>>>>>> may just need to get the O2K7 mime types on the server. >>>>>>> On Dec 21, 2010 2:22 PM, "Mark Davis" <[email protected]> wrote: >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the "Houston >>>>>>> ColdFusion Users' Group" discussion list. >>>>>>> To unsubscribe, send email to [email protected] >>>>>>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the "Houston >>>>>> ColdFusion Users' Group" discussion list. >>>>>> To unsubscribe, send email to [email protected] >>>>>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the "Houston >>>>> ColdFusion Users' Group" discussion list. >>>>> To unsubscribe, send email to [email protected] >>>>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the "Houston >>>> ColdFusion Users' Group" discussion list. >>>> To unsubscribe, send email to [email protected] >>>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>>> >>> >>> -- >>> You received this message because you are subscribed to the "Houston >>> ColdFusion Users' Group" discussion list. >>> To unsubscribe, send email to [email protected] >>> For more options, visit http://groups.google.com/group/houcfug?hl=en >>> >> >> -- >> You received this message because you are subscribed to the "Houston >> ColdFusion Users' Group" discussion list. >> To unsubscribe, send email to [email protected] >> For more options, visit http://groups.google.com/group/houcfug?hl=en >> > > -- > You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. > To unsubscribe, send email to [email protected] > For more options, visit http://groups.google.com/group/houcfug?hl=en
-- You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [email protected] For more options, visit http://groups.google.com/group/houcfug?hl=en
