[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading from a local drive

At 02:20 PM 2/12/96 +0700, you wrote:
>I intend to write a script that will read a binary file from a local
>file:/// URL. Is that possible? eg. reading a pkzip'ed file?
>I've been reading the manual at netscape's site and there's no
>such thing as an Input Stream. They have an output stream but that is
>the opposite of what I want.

It is intentional that JavaScript does not do this sort of thing, because
it's all too easy for someone to put up a page on the Web that goes to
people's setup or password files on their hard drive, opens them, then
returns the data on the sly to a CGI script.

-- Gordon