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

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
SirWinner
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2700
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oklahoma City, Oklahoma, United States of America
Contact:

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

Post by SirWinner » Mon Mar 27, 2006 2:20 pm

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
User avatar
SirWinner
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2700
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oklahoma City, Oklahoma, United States of America
Contact:

Post by SirWinner » Mon Mar 27, 2006 2:31 pm

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
User avatar
SirWinner
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2700
Joined: Thu Nov 05, 1998 12:01 pm
Location: Oklahoma City, Oklahoma, United States of America
Contact:

Post by SirWinner » Mon Mar 27, 2006 2:57 pm

I found this link to get me started:
http://aspnet.4guysfromrolla.com/articl ... mode=print

Wheeeeeee!

:roll:
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy » Thu May 11, 2006 12:08 am

...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.
Post Reply