Where does the browser store the file URL when we fill Input type File? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Where does the browser store the file URL when we fill Input type File?

While filling a text input we can see whatever we type there. But when we put files, we don't see anything. Where does the browser store that URL (of Local host)? I've tried Inspect tool but couldn't find anything. Is there any way to change the File URL using Inspect Tool?

16th Mar 2021, 8:54 AM
DK John
DK John - avatar
4 Answers
+ 1
no way: to avoid security issue (you can only get file provided by user, you cannot change it)... however, input type file doesn't send the file url to server on submit, but the file content (as blob)...
16th Mar 2021, 8:57 AM
visph
visph - avatar
+ 1
it should be possible, but would require some server sided code...
16th Mar 2021, 9:10 AM
visph
visph - avatar
0
Sir, I'm thinking about to upload youtube videos through URL. (from DropBox) Is that possible? Or maybe using APIs!
16th Mar 2021, 9:08 AM
DK John
DK John - avatar
0
Thank You SIR.
16th Mar 2021, 9:12 AM
DK John
DK John - avatar