> > I have a member-only page with some mp3 downloads on it. I want to > > force them to download rather than attempt to play in the browser. > > There is a way to do it with IIS and Virtual Directories. If > you create a virtual directory that points to the directory > where the mp3s are (for example "mp3download") and add the > following to the header in IIS, the file will be served as a > download and there will be no work for the CF server. > > Name: Content-disposition > Value: attachment; > > If there are very few downloads, it wont matter which way you > do it, but if the files are large and you want to avoid > having CF read them and serve them, you can use this alternate method.
If you do this, the files will be accessible directly through a browser, without requiring any authentication, unless you secure the virtual directory using web server authentication (Basic, NTLM, Digest). Based on the original posted question, that may be an issue. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283201 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

