Working with text files in PDK for .Net
I'm working with the portal development kit for .net.
Is there a way to work with text files located on the user's machine from inside of a portal component? I'd like to be able to create, modify and delete a small text file. The code I have currently builds fine, but when I run it in the portal, nothing is created.
This is the code I currently have in an ascx file:
TextForFile = "Hello";
FileInfo t = new FileInfo("C:/temp/TestFile.txt");
StreamWriter Tex =t.CreateText();