Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #17879
| From | Dr J R Stockton <reply1252@merlyn.demon.co.uk.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) |
| Date | 2012-12-29 18:58 +0000 |
| Organization | Home |
| Message-ID | <GhZ3TcOK1z3QFwQ$@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <50da3e0a$0$281$14726298@news.sunsite.dk> <8Z55dUJK9K3QFwFL@invalid.uk.co.demon.merlyn.invalid> <f+QklvCoCW3QFwi7@J.A830F0FF37FB96852AD08924D9443D28E23ED5CD> |
In comp.lang.javascript message <f+QklvCoCW3QFwi7@J.A830F0FF37FB96852AD0 8924D9443D28E23ED5CD>, Fri, 28 Dec 2012 09:04:40, John G Harris <john@nospam.demon.co.uk> posted: >On Thu, 27 Dec 2012 at 20:27:54, in comp.lang.javascript, Dr J R >Stockton wrote: >>In comp.lang.javascript message <50da3e0a$0$281$14726298@news.sunsite.dk >>>, Wed, 26 Dec 2012 00:00:03, FAQ server <javascript@dotinternet.be> >>posted: >> >>>----------------------------------------------------------------------- >>>FAQ Topic - How can I access the client-side filesystem? >>>----------------------------------------------------------------------- >>> >>>Security means that by default you can't. >> >>That is incorrect, because one can. The FAQ entry author, with a >>limited viewpoint, presumed that the JavaScript would be running in a >>Web page served by HTTP from a remote machine. Common, but not always >>so. > <snip> > >What does "client-side " mean? If it means the code is running in a web >page then your comment is wrong. My <http://www.merlyn.demon.co.uk/linxchek.htm> is undoubtedly a Web page. A browser automatically makes a local copy, and displays it; and that thus-displayed page cannot read the local filesystem. But, with menu File, Save [Page] As, one gets a local copy which the browser can read and display; and that can then read the local filesystem. Try it yourself - that might at least help to debug the instructions. H'mmm - can a cached copy be found and read as a file, independently of its cachedness, and what does it then do if asked to read the local filesystem? My <http://www.merlyn.demon.co.uk/programs/32-bit/seek.hta> is presumably a Web page. Firefox will fetch it and display it in "View Source" manner. But MS IE 8 can fetch it and display it in an HTML GUI manner. Press the SEEK button and it will read the local disc and display information from it, with a short delay. Usually, use WIPE between SEEKs. The "input type=text" element needs a folder reference, not a file one. Y is short for "Yesterday". That is freshly tested on the PC on which it was written. It might be necessary for others to import and emplace my seakfyle.js; I cannot tell from here. And if you use the link "Instructions", you may find it useful (in which case please take and use a true local copy (of both)). >Perhaps you should complain that the wording is a bit obscure. ><FAQENTRY> The wordings are generally obscure or capable of misinterpretation. Especially the word "I". -- (c) John Stockton, nr London, UK. E-mail, see Home Page. Turnpike v6.05. Website <http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms PAS EXE etc. : <http://www.merlyn.demon.co.uk/programs/> - see in 00index.htm Dates - miscdate.htm estrdate.htm js-dates.htm pas-time.htm critdate.htm etc.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
FAQ Topic - How can I access the client-side filesystem? (2012-12-26) "FAQ server" <javascript@dotinternet.be> - 2012-12-26 00:00 +0000
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) Osmo Saarikumpu <osmo@weppipakki.com> - 2012-12-28 00:30 +0200
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) Dr J R Stockton <reply1252@merlyn.demon.co.uk.invalid> - 2012-12-27 20:27 +0000
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) John G Harris <john@nospam.demon.co.uk> - 2012-12-28 09:04 +0000
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) Dr J R Stockton <reply1252@merlyn.demon.co.uk.invalid> - 2012-12-29 18:58 +0000
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) Jeff North <jnorthau@yahoo.com.au> - 2012-12-30 12:35 +1100
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2012-12-31 19:38 +0000
Re: FAQ Topic - How can I access the client-side filesystem? (2012-12-26) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-12-30 09:31 +0100
csiph-web