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: > > > > <cfheader name="Content-Disposition" value="attachment;filename=#fileName#"> > > <cfcontent FILE="#file#" TYPE="#MimeType#"> > > > > Whenever the filename contains spaces, the "What do you want to > do with this file" prompt truncates the filename. I can obviously replace > the spaces with underscore, %20 or something, but wondered if there was a > way to preserve the filename as is, and get the full name in the prompt? > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284047 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4