coldfusion How to save pdf file in database and fetch it in browser

久未见 提交于 2019-12-02 01:31:47

Your code is correct in principle. Make sure that the settings in the CF admin allow for blob data - otherwise it may be truncated in the DB. It's pretty typical to not allow BLOB data through the driver (by default it is NOT allowed in the DSN settings). If you enable it you should be good.


I'm posting this answer so you can flag it as correct based on the comments (per Leigh's suggestion). :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!