I want to create a button in react js that works similar to 'save as' so that the user could select the filetype and location to be saved in the pc. I will be getting the a file from the server and want that file to be saved in a particular location. Please suggest me a solution for it.
What is the best possible way for doing this.