>>The only thing thats missing is access to a folder above my webroot 
so I can store docs outside of my site for security.

The is a way to get around this problem:
- store your docs in a special directory, but change the name to 
whatever.cfm
- save the true name and type in your database.
- put a file Application.cfm in the same directory that just contain 
<CFABORT>
- make a tamplate to download the document with something like:
 <cfheader name="Content-Disposition" value="attachment; 
filename=#trueFileName#">
<CFCONTENT TYPE="application/octet-stream" FILE="#pathDoc##localName#">

where trueFileName is the original file name of the document,
pathDoc is the path where documents are stored as CFM files,
and localName is the actual name of the file.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236270
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to