S
Scotty
I have a file on a server. How do I get a stream to
write to this file.
I can read this through the following
string filePath = "http:\\QuickServ1\TestLogs\Log.txt"
WebRequest req = System.Net.WebRequest.Create(filePath);
HttpWebRequest hreq = (System.Net.HttpWebRequest)req;
WebResponse res = hreq.GetResponse();
str = res.GetResponseStream();
//I Use this stream for reading the file
how write to this...
Thanks in advance
write to this file.
I can read this through the following
string filePath = "http:\\QuickServ1\TestLogs\Log.txt"
WebRequest req = System.Net.WebRequest.Create(filePath);
HttpWebRequest hreq = (System.Net.HttpWebRequest)req;
WebResponse res = hreq.GetResponse();
str = res.GetResponseStream();
//I Use this stream for reading the file
how write to this...
Thanks in advance