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:321177
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to