I have already read up on this here, and know that it is impossible due to security restrictions, however I have a few more specific questions about this.
text and then add the file path and proceed to submit the form? will it work for selecting a file to run? I cannot test this because I am working with a router UI through HTML and while it may seem like it is working when I hit submit I can't tell if it is actually changing anything<input type="file"> doesn't allow you to set the value programmatically but it must be the user who locates the file to upload. Thus, you can't turn your input into a type="text", set a path and turn the so-called input into type="file" again and hold the value.
What would happen if I were to change the input type to text and then add the file path and proceed to submit the form? will it work for selecting a file to run?
It would send the file path instead of the file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With