Have you checked out CFCONTENT?

Something like this...
<cfheader name="content-disposition" value="inline;
filename=#GetFile.FileName#">
<cfcontent deletefile="No" type="unknown"
file="#FolderPath##GetFile.FileName#">


Yves

-----Original Message-----
From: Jillian Carroll [mailto:[EMAIL PROTECTED]
Sent: July 21, 2003 4:39 PM
To: CF-Talk
Subject: Secure File Manager


I'm building a secure file manager on a CF 5 server.

Because there are a number of different file types in my directories (.pdf,
.doc, .xls, etc.) I think the best way is to create a directory that isn't
accessible via Apache... and use CF to view/work with the directory.

The question I have... is what is the best way for me to actually allow
users to download these files.  Obvious an <a href=""></a> tag isn't going
to do it, because they aren't available to the web server.

--
Jillian



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to