JRS: In article <3t************@individual.net>, dated Thu, 10 Nov 2005
21:56:29, seen in news:comp.lang.javascript, Aaron Gray
<an********@gmail.com> posted :
Is there any possible way to write a text file from JavaScript to the local
machine ?
Here the default assumption is Web use.
For that, write the data to a textarea and ask the user to copy'n'paste
it to where he wants it; or write it to a new window and ask him to use
File, Save As or equivalent. First, though, check that they work for an
arbitrary user and a page from a remote server.
To do that sort of thing in javascript run locally with WSH, which is
really Jscript, ask in a a Jscript group - see FAQ 2.2.
<FAQENTRY> The Jscript link in 2.2 should be copied or moved into 2.7.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.