Edit a text file on a web site server

tahu191

Well-known member
Joined
Oct 27, 2005
Messages
48
Location
USA
Programming Experience
Beginner
I need to be able to edit a text file that's on a website server, here's how i'm attempting to read it:

VB.NET:
Dim sr as StreamReader = new StreamReader("http://www.website.com/text.txt")
but this apparently doesn't allow a web link. any suggestions?
 
Assuming this is a web server that you own, couldn't you just use the UNC file path.

If this is not a web server that you own then I would be contacting the server admins and getting instructions from them.
 
Back
Top