Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upload file Directly to MS Access DB

Status
Not open for further replies.

icemale75

Programmer
May 5, 2003
9
CA
I'm running ColdFusion 5 and have a need to store PDF files securely. One way I'm thinking of doing this is to have the files upload to a database directly (MS Access) as an OLE Object and then have a page that "displays" the file when I send the page an ID number. I can't get the upload to work, and I can't get the display to work either. I'm not married to this idea so if anyone has any other thoughts, I'm very open to them. Please keep in mind I'm running CF5 on Windows 2000 Adv Server and an MS Access DB.

Thanks
 
I store images on disk, out of reach of the public. Either below the web root, or set permissions on a web level folder so that the visitor can't get to them.

then use cfcontent to serve them up.

you can do all kinds of checking before the cfcontent to decide whether or not to show the full image, a thumbnail, etc..

Kevin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top