Page 1 of 1

Is it possible for an ASP page to read a server side file?

Posted: Mon Mar 27, 2006 2:20 pm
by SirWinner
It is probably possible although there isn't much need for it.

Have a plan for something later on IF I can find a way to do this.

Meanwhile, will look for it elsewhere.

Thanks,
SirWinner

Posted: Mon Mar 27, 2006 2:31 pm
by SirWinner
Not looking for ASP.Net Code... This needs to be a purely \".ASP\" file on a web page.

One use might be to display the contents of a \"hidden\" file to only \"authorized\" users.

:P

Posted: Mon Mar 27, 2006 2:57 pm
by SirWinner
I found this link to get me started:
http://aspnet.4guysfromrolla.com/articl ... mode=print

Wheeeeeee!

:roll:

Posted: Thu May 11, 2006 12:08 am
by DCrazy
...confused... you mean you need your ASP page to read from a file on the server it's stored on? Check out FileSystemObject. If it's on a remote server you have to instantiate an HTTP connection to that machine.