I am attempting to create a file consisting of data I retrieve from the database on a browser. I am able to create the file on the server side. Can anyone let me know how can I do it on the client side? Essentially, I should be able to ask the user to choose a folder to save the file and write the file there.
I also want to know how can I insert carriage returns in a
string that I am writing into a text file.
Any help in this regards would be appreciated.