Click to See Complete Forum and Search --> : Read and write to file using JavaScript


Kvang
07-24-2003, 12:52 AM
Is there a command or way so that you can make JavaScript read from file and then write to file?

Because I heard that someone said you can write to file or read from file using JavaScript.


Your help will be appreciate and Thank you for your help.

Gollum
07-24-2003, 02:19 AM
I'm pretty sure this is something you can't do.
for security purposes, a browser limits a lot of Javascript - computer interactions including reading and writing to files. If this were not the case, any web-site you went to could potentially trash your computer, search it for personal/financial details, etc.

super_dc
07-24-2003, 03:59 AM
You need to use server side Java, or try using ASP. I've used ASP to read/write data to an access database. If you search the web for java file write you can find same code. A quick forum thread I found was http://www.computing.net/programming/wwwboard/forum/5792.html