I have a page where users can submit text. How do I make the C# code save to the website (a .txt file) to a certain folder.
When I ran my website from home it was like this...
writer= new StreamWriter(@"\iFrameContents\codeSnippets\snippetsList.list");
writer.WriteLine(temp + authorName.Text + "-" + codeName.Text + " " + id.ToString());
writer.Close();
*thats just a small part of it.. the part that writes the new submission name to the list of submitted texts, thus the ".list" extension on the file, but it is still in plain text.
**the other part makes a file with that name and writes the text inside it. that is the one with the ".txt" extension
Since I do not have rights to the file system (i think) I can't do it like that here.
Thanks!