extjs download file on button click

Html - Using Buttons for selecting files to be uploaded

Well, you know the good old <input type="file" /> widget in html, the one used for selecting files to be uploaded on a web page, right.

The problem with this widget is its limited support for styling and scripting compared to other html tags (probably due to security concerns). You cannot style or specify text for the "Browse" button for this widget, for example.