Two way binding input files

how to bind database files into HTML input[type=“file”] through api.

При чем здесь Framework7?

i need to need upload pdf , image files input type=“file” to database through api how to do that. And also how to rebind that to input file from databse.