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 43 times
0
Heretic Monkey
- 11,078
- 7
- 55
- 112
100tomer
- 127
- 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
Taki eddine
- 11
- 3
-
This is not true. The user has to _allow_ the access. – Andy Oct 12 '21 at 16:34