the FILE attribute of <cfcontent> tag must include full path to file + filename - does it?
the FILENAME parameter in your <cfheader> tag can be anything you want - it does not have to be exact name of the file as it is on the server. so you can easily set it as filename="#replace(url.downloadFilename, " ", "_", "all")#" to replace all spaces with _. i think FF is stumbling not on a space, but on a url-encoded space (%20, iirc) in the filename... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Keith McGee wrote: > In firefox the downloadfilename will stop at the first space, won't bring the > rest of the file name and extension. it works fine if no spaces are in the > file name. > > for example "test file one.pdf" will open fine in internet explorer but will > error out in firefox or if you download to your desktop it will show up with > that the name "test" with out "file one.pfd" and will be an unknown file type. > > here is my link in the folder list > > file_repository_public/repositoryView.cfm?&fileview=#treeVal#&downloadFilename=#urlEncodedFormat(name)#&" > > here is the code in the open file page. > <cfset filename = '#client.Auth.sfile_directory_ussupport##url.fileview#'> > <cfset downloadFilename = '#urlEncodedFormat(url.downloadFilename)#'> > > <cfheader name="content-disposition" value="attachment; > filename=#downloadFilename#"> > <cfcontent type="application/unknown" file="#filename#" deletefile="no" > reset="yes"> > > any ideas? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

