G
Guest
I want to read the content of a text file on a server using an ASP.NET
script. Something like this:
My script is on www.whatever.com/readfile.aspx
The file I what to read is on www.somethingelse.net/File.txt
Of course I can’t use any File system functions like File.OpenText(…)
because my script has no access to the other servers file system. However, I
know that there is a way of getting the file content. I just don’t know how.
Any hint would be appreciated.
script. Something like this:
My script is on www.whatever.com/readfile.aspx
The file I what to read is on www.somethingelse.net/File.txt
Of course I can’t use any File system functions like File.OpenText(…)
because my script has no access to the other servers file system. However, I
know that there is a way of getting the file content. I just don’t know how.
Any hint would be appreciated.