I'm setting up a new angular 7 web application. It is simple application with only one purpose. In my typescript component, I am building a JSON Object. Given that the json object is already set and filled with informations, my goal is to let the user choose the path where to save this json object in the user's harddrive. So I need to create some kind of a directory/path chooser dialog ( like 'save as' dialog in google chrome). how can I do that ?
I have found the following answers in which people say that it's impossible to do in modern browsers. I need to confirm that and try to find another solution: Directory Chooser in HTML page Allow to choose directory using Angular FileSaver.js
I have tried this code: but the probleme was that this import the selected folder with all the files inside it, but what I actually only need is its path.