• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Retrieving PDF as BLOB from SQL DB

New Here ,
Sep 17, 2009 Sep 17, 2009

Copy link to clipboard

Copied

I need to figure out how to retrieve a PDF files, stored as BLOBs in a SQL Server 2005, and write them to the browser and/or file directory on my webserver. I'm inheriting the database for a new website I'm building using ColdFusion 8.

TOPICS
Advanced techniques

Views

2.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Sep 17, 2009 Sep 17, 2009

Copy link to clipboard

Copied

LATEST

Ben Nadel's blog has a good example of streaming binary data.  The examples use images. But the same concept applies to pdf's. Just change cfcontent's mime/type

http://www.bennadel.com/blog/1274-ask-ben-streaming-binary-data-from-the-database-blob-to-the-user-using-coldfusion.htm

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation