How to create .txt file in local from server in c# ?

Posted by Kasani007 under C# on 4/26/2017 | Points: 10 | Views : 1040 | Status : [Member] | Replies : 0
I want a txt file that is to be created in local from server

for local i have code i.e.,

FileStream fs1 = new FileStream("G:\\somefile.txt", FileMode.OpenOrCreate, FileAccess.Write);
StreamWriter writer = new StreamWriter(fs1);

the code above is run in local,

but i need file to be saved in local, if it runs in server


(No response found.)

Login to post response