4
I have an html form that uploads a file and I can save it to a folder. The problem is that now I need to do the reverse operation, and return the file in this same input type file field so that the user can edit. Someone can give me a hand, I will be grateful. I have tried to save in the value of this input and still will not.
I’ve never seen anything like it. I’ve tried something like
FileReader
ofJavascript
?– Wallace Maxters
You must have saved the file name in some bank or file, in order to recover and put the name back in the input.
– Franchesco
I’ve tried it this way, but it still won’t come back. I can write what comes from the database on the screen, but not in a File input, just text.
– Sheva Lucas