zahir hussain
zahir hussain

Reputation: 3739

file write or read in JavaScript

how can I write and read files in JavaScript?

Is it possible?

Upvotes: 0

Views: 635

Answers (4)

Matthew Flaschen
Matthew Flaschen

Reputation: 284927

There are APIs developing to make this possible. For instance, Firefox 3.6 has a File API (see active demo), and the W3C has a working draft.

Upvotes: 2

Rev316
Rev316

Reputation: 1951

It's impossible without using a JavaScript extension, or something like ActiveX.

Upvotes: 0

heisthedon
heisthedon

Reputation: 3707

according to this article is possible, but i never tried it before. http://www.c-point.com/JavaScript/articles/file_access_with_JavaScript.htm

Upvotes: -1

John Saunders
John Saunders

Reputation: 161791

JavaScript running in a web page displayed in a browser cannot access the client file system.

Upvotes: 3

Related Questions