File retrieval from database using WebDev Module

Except with the PDF viewer in Perspective... you need to use the WebDev module or @pturmel blob server: Automation Professionals' Blob Server Module

But as @pascal.fragnoud noted, tell us more about what you need to do. It'll help us help you.