No. This is not possible.
Browsers block against setting the value attribute on input of file type for security reasons so that you can’t upload a file without the user’s selected any file himself.
More Related Contents:
- Bootstrap height
- How do you disable browser autocomplete on web form field / input tags?
- Form inside a table
- What is the default form HTTP method?
- Google Chrome form autofill and its yellow background
- How do I change the color of radio buttons?
- What does “for” attribute do in HTML tag?
- Limit number of characters allowed in form input text field
- Is there a way to style part of an input field’s value? [duplicate]
- Make page to tell browser not to cache/preserve input values
- HTML input type=file, get the image before submitting the form
- Preventing Firefox from remembering the input value on refresh with a meta tag
- How to allow only one radio button to be checked?
- Send email from static page hosted on GitHub Pages
- How to disable the resize grabber of ? [duplicate]
- HTML apply a filter
- Use Fieldset Legend with bootstrap
- How to align input forms in HTML
- Which elements support the ::before and ::after pseudo-elements?
- HTML form with multiple “actions”
- or ? What’s the difference?
- How to align texts inside of an input?
- Why is the first element always blank in my Rails multi-select, using an embedded array?
- Multiple submit buttons on HTML form – designate one button as default [duplicate]
- Html.BeginForm() with an absolute URL?
- Can you style html form buttons with css?
- Using rvest or httr to log in to non-standard forms on a webpage
- Styling autocomplete dropdowns in browsers
- HTML multiple select box
- HTML Form File Uploads doesn’t upload file