I'd like to be able to have a text box alert in my C# web application if a file exists on a server. Any ideas? New to C# here. So for example, if I have text.txt (and I know that it's always going to be text.txt) that someone drops into a folder onto a file server, my web application page will alert me using the timer (or something like that).
The best way to check if a single specific file exists would be File.Exists:
if (File.Exists("c:\\test.txt"))
//inform user