download file from database in grid

Hey guys, am having some difficulty finding some setting or option to allow for download of a file stored in database! Not physical file, so no no file path or file to link too.
I also need to provide download of the file from a form which is read only.

any ideas? cant seem to find a solution here in forum…

if you have it like a blob in your database the only choice I can think off is to create a link into another application (blank most likely) that takes the blob into a field and then stream it into the browser.

something tells me that if you managed to get the file into a blob you have the knowledge to do it in reverse.

Regards

I had thought of writing the file out, but as I dont know if the file uploaded will be doc, csv, excel word what ever as it is used for office documents even pdf files. So that doesnt help at all, there must be an option to read the file why otherwise do we have an upload option for it? useless otherwise right???

actually just taken the time to look at the document library example, was working there… so of course had a play with the file options within the grid and got it working, had the wrong element selected, as I was also storing the title and file name the file name was un-clickable, how ever the title is now clickable and now allows download :slight_smile: so simple when u have a nudge lol