writting files

  • Thread starter Fernando Fernández
  • Start date
F

Fernando Fernández

Hiii people.

I have a question. Is it possible to write a text file using JavaScript?

mmm... and it's all, it's a very simple question... and I am afraid of the
answers :s

Ok, best regards from Palma de Mallorca
Fernando
 
M

Martin Honnen

Fernando said:
Is it possible to write a text file using JavaScript?

Yes, when there are host objects available or creatable to do so. You
can certainly do it for instance with JavaScript in WSH or ASP or HTA.
See
<http://msdn.microsoft.com/library/d...n-us/script56/html/FSOoriFileSystemObject.asp>
Inside the browser such host objects for file system access are usually
not provided or only provided under certain restrictions (e.g. when the
HTML document with the script is also being loaded from the local file
system).
 
J

Julian Turner

Fernando said:
Hiii people.

I have a question. Is it possible to write a text file using JavaScript?

mmm... and it's all, it's a very simple question... and I am afraid of the
answers :s

Ok, best regards from Palma de Mallorca
Fernando


Mozilla/Firefox uses XPCOM/XPCONNECT technology for file handling. It
is however a bit more fiddly than the Scripting.FileSystemObject for
IE. See:-

http://www.captain.at/programming/xul/
http://www.xulplanet.com/

Julian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top