The following writes to my C drive instead of the server\path given:
fstream = new FileStream(vpath+myFileName, FileMode.CreateNew);
fstream.Write(myFileBytes, 0, myFileSize);
fstream.Close();
Where vpath = "\\MyServer\MyDir\";
And myFileName is an XML file name.
The file ends up in "C:\MyServer\MyDir\myFileName.xml".
Why is it doing this? Yes, I have writes to the server. I can copy to
it using windows explorer.
..NET 1.1, C#.
--
Don Gollahon