Re: Open File

Tech-Archive recommends: Fix windows errors by optimizing your registry



I can't even begin to read the OP's code, so I will comment on your comments.

> It seems an odd requirement, you want the user to be able to open a file on
> a server from a client browser?
> They wouldn't be able to see the file so what would the point be?

There is a way to read a file opened on the server using forms and ASP. The
targeted asp script need only send the data read from the requested file back to
the client as a response to the submitted form.

> Or do you wish to open a file on the client's machine in which case you'll
> need client-side code and reduced security levels on the browser?

You'll need a lot more than "reduced security" to open a file directly with the
browser. I don't think it can be done. I've tried. I have to use a local server
and asp scripts to pull that trick off, as described above.
-- 
Crash


.



Relevant Pages