I could not find how can I "generate" a file and download it only on client side?
For example when the user type some text in the website, I want to give him the option to download it without using a server.
Asked
Active
Viewed 95 times
0

Heretic Monkey
- 11,687
- 7
- 53
- 122

100tomer
- 137
- 1
- 10
1 Answers
-1
If you are talking about browser javascript, you can not write data directly to local file for security reasons. u can only read

TakiDDine
- 15
- 5
-
This is not true. The user has to _allow_ the access. – Andy Oct 12 '21 at 16:34