0
Can JavaScript be used to read and write to a file?
.js file operations
3 Antworten
+ 2
It can be. But it's not design for that, so it's often a little difficult and limited... if you think JS in browser ( for security reasons, a script wouldn't normally access to the user's files system -- but if you are the user, you may succeed in cicumventing ).
If you are thinking to NodeJS, it's more made for, but it means installing a server.
Searches on google would bring you many examples ^^
+ 1
take a look at NodeJS.
+ 1
Thanks.. I will take a look at Node.js