Outer Court

Tech - Posts to comp.infosystems.www.*

From: "Philipp Lenssen" <phil@mrinfo.de>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: is it possible to create directories on a hard drive from an html file?
Date: Wed, 28 Nov 2001 10:32:57 +0100
Message-ID: <9u2atj$ecv$1@swifty.westend.com>
"Nathan Thompson" <n.thomp@roadrunner.nf.net> wrote in message
news:9u1466$o88$1@horsefly.nf.net...
> I need to know if it is possible to
> create
> a directory from an HTML files
>..

Depends completely on browser and operating system, and in general, the
defaut settings won't allow that. But if you have a special web application
the user trusts, and if you know your target system, and the user goes
through the trouble of changing her security settings for you, you can for
example in Windows + IE + JScript instantiate the FileSystem-ActiveX object
and do lots of stuff with it. IIRC IE won't even ask by security pop-up if
you try that on the WWW, it will just ignore the script, or return an error.
Your changes of success are slightly better if the HTML is loaded from the
hard disk, instead of the WWW, since in IE different security restriction
apply. What you probably want to do is use cookies.

--
Philipp Lenssen
M+R Infosysteme
http://www.mrinfo.de





 
Basic
Goodies
Design
Tech
Email