Nov 18, 2008 #1 D Diesel Well-known member Joined Aug 18, 2003 Messages 662 Anyone know of a tool or how to poll an ftp site on the local computer to see if its down and restart it if it is?
Anyone know of a tool or how to poll an ftp site on the local computer to see if its down and restart it if it is?
Nov 20, 2008 #2 PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,155 Location Lancashire, UK User Rank *Expert* The service itself is named msftpsvc so you could always restart it similar to C#: ServiceController sc = new ServiceController("msftpsvc"); if (sc.Status == ServiceControllerStatus.Stopped ) sc.Start();
The service itself is named msftpsvc so you could always restart it similar to C#: ServiceController sc = new ServiceController("msftpsvc"); if (sc.Status == ServiceControllerStatus.Stopped ) sc.Start();