Forums

How to donwload file in database

simbur 02 Apr, 2015
Hello ,

I uploaded file in my databse with Chronoform,I use Chronoconnectivity for custom the view and i would like in the Front list a link who allowed to download the file form my database

I make like that <a href="{Model.id}">{Model.id}</a> but it doesn't work can you help me please

Simbur
GreyHead 02 Apr, 2015
Hi Simbur,

Is your Model ID actually Model?

And the file name is probably not in the id column? Which column is it in?

What is the folder the file is saved in? Is that also saved in the database table?

Bob
simbur 02 Apr, 2015
my file is saved in the database but not in a folder.the field name is file and my model is Formation.and the field in the database is file too
GreyHead 02 Apr, 2015
Hi simbur,

Then the link should be something like this
<a href="\some_path\to_the\image_folder\{Formation.file}">{Formation.file}</a>

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger