Upload file with input type file, but get it with file path

Hi, I want upload a voice that I have file path for it, so for some reasons I should upload it with

< input type='file'>

Anyway for doing this?

Newer browsers discourage or prevent apps from being able to reach into a user’s system. So if it’s a file that comes with your app – in your assets folder for example – then yes you can do it. But if it’s a file on the device before you install the app, then the user should select it with a file picker.