So here\'s my problem, I need to do a c# service running on a server who\'s getting file on ftp one time per day at 3am. I think that I can do it with a thread.sleep() or by
If you are expecting a file every night, instead of worrying about when it arrives, just get an event fired when it does.
Look at:
System.IO.FileSystemWatcher
File System Watcher on MSDN